summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-25 16:32:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-25 16:56:25 +0100
commit2f4546487adca8ee14494048e693ab0114dfa4fa (patch)
treea08565db00bd14aeee12eff219226167b962d3d5 /extensions
parent28dbb39389564c5ba421de3ca3d6ab07fc596ab4 (diff)
coverity#982164 silence Unchecked return value from library
Change-Id: Ibec38a7e7846c463601b0a876778f53003cf0441
Diffstat (limited to 'extensions')
-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 b4af3b3e6d8c..5e0c1a98c475 100644
--- a/extensions/source/plugin/unx/npwrap.cxx
+++ b/extensions/source/plugin/unx/npwrap.cxx
@@ -377,12 +377,12 @@ int main( int argc, char **argv)
if ((flags = fcntl (wakeup_fd[0], F_GETFL)) != -1)
{
flags |= O_NONBLOCK;
- fcntl (wakeup_fd[0], F_SETFL, flags);
+ (void)fcntl(wakeup_fd[0], F_SETFL, flags);
}
if ((flags = fcntl (wakeup_fd[1], F_GETFL)) != -1)
{
flags |= O_NONBLOCK;
- fcntl (wakeup_fd[1], F_SETFL, flags);
+ (void)fcntl(wakeup_fd[1], F_SETFL, flags);
}
pPluginLib = LoadModule( argv[2] );