HomeClusterLabs Projects

Suppress unused result warning in signal handler

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

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

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.