Closed
Bug 551050
Opened 14 years ago
Closed 14 years ago
warning C4702: unreachable code (3x) in dlmalloc.c
Categories
(Core :: js-ctypes, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: neil, Assigned: neil)
Details
Attachments
(1 file)
497 bytes,
patch
|
dwitte
:
review+
|
Details | Diff | Splinter Review |
This is caused in three places as follows: a. (ABORT, (v)) in the set_segment_flags macro (used twice) b. CORRUPTION_ERROR_ACTION(m); return 0; in tmalloc_small Indeed, dlmalloc.c mentions that most compilers know that abort() does not return and also that some compilers issue warnings about unreachable code.
Assignee | ||
Comment 1•14 years ago
|
||
The existing numbers didn't seem to be in any particular order.
Updated•14 years ago
|
Attachment #431237 -
Flags: review?(dwitte) → review+
Assignee | ||
Comment 2•14 years ago
|
||
Pushed changeset 99e20852ffe0 to mozilla-central.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•