This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Silence GCC/glibc warnings about ignoring the return value of write(). NFC.
ClosedPublic

Authored by mstorsjo on Apr 6 2022, 4:55 AM.

Details

Summary

This matches how another similar warning is silenced in
Host/posix/ProcessLauncherPosixFork.cpp.

Diff Detail

Event Timeline

mstorsjo created this revision.Apr 6 2022, 4:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2022, 4:55 AM
mstorsjo requested review of this revision.Apr 6 2022, 4:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2022, 4:55 AM
labath accepted this revision.Apr 6 2022, 4:57 AM

The gcc behavior is quite annoying here...

This revision is now accepted and ready to land.Apr 6 2022, 4:57 AM