diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-27 13:33:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-27 14:34:21 +0000 |
commit | 0e36884e78f30e546633bf0bcd814005c5b9b8c2 (patch) | |
tree | 89e9e221ffa44ccf25a7579bad59d616fe55a65d /extensions/source | |
parent | 21a8b7a6fe3f198b66fd1ecc21ce7df16f4a824e (diff) |
coverity#982164 silence Unchecked return value from library
Change-Id: Ie2479e3dc73a7c7e8d2d0c5c979bde2ea5d05a1e
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/plugin/unx/npwrap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/plugin/unx/npwrap.cxx b/extensions/source/plugin/unx/npwrap.cxx index 5e0c1a98c475..0cb0af7d5dc6 100644 --- a/extensions/source/plugin/unx/npwrap.cxx +++ b/extensions/source/plugin/unx/npwrap.cxx @@ -365,12 +365,12 @@ int main( int argc, char **argv) if ((flags = fcntl (wakeup_fd[0], F_GETFD)) != -1) { flags |= FD_CLOEXEC; - fcntl (wakeup_fd[0], F_SETFD, flags); + (void)fcntl(wakeup_fd[0], F_SETFD, flags); } if ((flags = fcntl (wakeup_fd[1], F_GETFD)) != -1) { flags |= FD_CLOEXEC; - fcntl (wakeup_fd[1], F_SETFD, flags); + (void)fcntl(wakeup_fd[1], F_SETFD, flags); } // set non-blocking I/O flag. |