HomeClusterLabs Projects

Suppress unused result warning in signal handler

Description

Suppress unused result warning in signal handler

Modern compilers will fail with "ignoring return value of ‘write’,
declared with attribute warn_unused_result" otherwise.

(In my tests with gcc 5.3 on GNU Hurd, it wasn't enough to simply cast
the return value to (void) which is often suggested as a way to suppress
this kind of error.)

Details

Provenance
Christoph Berg <myon@debian.org>Authored on May 24 2016, 12:20 PM
Parents
rP0cdd74b2c0ff: Merge pull request #1016 from wferi/doc-uris
Branches
Unknown
Tags
Unknown

Event Timeline