Bug 31323

Summary: Fix a few compiler warnings
Product: WebKit Reporter: Laszlo Gombos <laszlo.gombos>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
proposed patch none

Description Laszlo Gombos 2009-11-10 15:38:13 PST
QtWebKit built on Linux using GCC 4.4 reports the following compiler warnings:

WebCore/editing/htmlediting.cpp: In function bool WebCore::isRenderedAsNonInlineTableImageOrHR(const WebCore::Node*):
WebCore/editing/htmlediting.cpp:1087: warning: suggest parentheses around && within ||

WebKit/qt/tests/qwebframe/tst_qwebframe.cpp: In member function virtual QNetworkReply* FakeNetworkManager::createRequest(QNetworkAccessManager::Operation, const QNetworkRequest&, QIODevice*):
WebKit/qt/tests/qwebframe/tst_qwebframe.cpp:2241: warning: suggest explicit braces to avoid ambiguous else
Comment 1 Laszlo Gombos 2009-11-10 16:02:44 PST
Created attachment 42905 [details]
proposed patch
Comment 2 WebKit Commit Bot 2009-11-11 06:45:47 PST
Comment on attachment 42905 [details]
proposed patch

Clearing flags on attachment: 42905

Committed r50806: <http://trac.webkit.org/changeset/50806>
Comment 3 WebKit Commit Bot 2009-11-11 06:45:52 PST
All reviewed patches have been landed.  Closing bug.