[Webkit-unassigned] [Bug 152408] Avoid triggering clang's -Wundefined-bool-conversion

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 17 17:07:28 PST 2015


Michael Catanzaro <mcatanzaro at igalia.com> changed:

           What    |Removed                     |Added
                 CC|                            |mcatanzaro at igalia.com
            Summary|-Wundefined-bool-conversion |Avoid triggering clang's
                   |on TreeScope.cpp:287        |-Wundefined-bool-conversion
          Component|HTML DOM                    |WebCore Misc.

--- Comment #1 from Michael Catanzaro <mcatanzaro at igalia.com> ---

[2754/5753] Building CXX object Source...MakeFiles/WebCore.dir/page/Frame.cpp.o
../../Source/WebCore/page/Frame.cpp:873:8: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
    (!(this) ? (WTFReportAssertionFailure("../../Source/WebCore/page/Frame.cpp", 873, __PRETTY_FUNCTION__, "this"), WTFCrash()) : (void)0);
     ~ ^~~~
1 warning generated.

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/20151218/e8cda8d6/attachment.html>

More information about the webkit-unassigned mailing list