[Webkit-unassigned] [Bug 143772] [W32] GCC warns that dummy HeapStatistics has a noreturn function that returns

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 15 10:16:19 PDT 2015


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

LRN <lrn1986 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #250819|                            |review?
              Flags|                            |

--- Comment #1 from LRN <lrn1986 at gmail.com> ---
Created attachment 250819
  --> https://bugs.webkit.org/attachment.cgi?id=250819&action=review
Fixup dummy HeapStatistics implementation

GCC warns that exitWithFailure is marked as noreturn, but it does return:
../webkitgtk-2.4.8/Source/JavaScriptCore/heap/HeapStatistics.cpp:135:1: warning: 'noreturn' function does return

Call exit(-1) to indicate that no, there is no returning from here.

-- 
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/20150415/407e9fcf/attachment-0001.html>


More information about the webkit-unassigned mailing list