Closed Bug 1414394 Opened 3 years ago Closed 3 years ago

-Wunused-result in ASAN build with FORTIFY_SOURCE

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

Details

Attachments

(1 file)

> tools/fuzzing/libfuzzer/FuzzerIOPosix.cpp:118:3: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result]
Comment on attachment 8925227 [details]
Bug 1414394 Mark write()'s in libfuzzer as Unused to silence a warning

https://reviewboard.mozilla.org/r/196442/#review201710
Attachment #8925227 - Flags: review?(n.nethercote) → review+
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/a0712da71d64
Mark write()'s in libfuzzer as Unused to silence a warning r=njn
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/a0712da71d64
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.