summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/plugin/unx/npwrap.cxx4
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.