[Webkit-unassigned] [Bug 162551] New: -Wtautological-compare triggered in URLParser::internalValuesConsistent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 26 01:48:55 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=162551

            Bug ID: 162551
           Summary: -Wtautological-compare triggered in
                    URLParser::internalValuesConsistent
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: achristensen at apple.com

This is wrong:

[3876/6045] Building CXX object Source...s/WebCore.dir/platform/URLParser.cpp.o
../../Source/WebCore/platform/URLParser.cpp: In static member function ‘static bool WebCore::URLParser::internalValuesConsistent(const WebCore::URL&)’:
../../Source/WebCore/platform/URLParser.cpp:2357:26: warning: self-comparison always evaluates to true [-Wtautological-compare]
         && url.m_hostEnd <= url.m_hostEnd
            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160926/37f798d5/attachment.html>


More information about the webkit-unassigned mailing list