[Webkit-unassigned] [Bug 224452] RefPtr.h:42:23: warning: ‘this’ pointer is null [-Wnonnull]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 12 14:38:06 PDT 2021


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

Michael Catanzaro <mcatanzaro at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcatanzaro at gnome.org

--- Comment #1 from Michael Catanzaro <mcatanzaro at gnome.org> ---
Well, actually I see the warning is for RefLogger::deref, so 'this' is a RefLogger. But it's still clearly impossible for it to be nonnull since we check for nullptr one line up. The warning actually goes away if we remove the LIKELY().

GCC bug: https://bugzilla.redhat.com/show_bug.cgi?id=1948775

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210412/ce204273/attachment.htm>


More information about the webkit-unassigned mailing list