summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-25 16:32:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-25 16:56:25 +0100
commit28dbb39389564c5ba421de3ca3d6ab07fc596ab4 (patch)
tree4159bfd49fc3ab268cf32e708766c9adca4020d9 /extensions
parent25e0764965e1abc2495213aea56140aec86fdd48 (diff)
coverity#982163 silence Unchecked return value from library
Change-Id: I6b9a3c6ce75472da551706b1c1555eff4ba1abc8
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/plugin/unx/npwrap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/plugin/unx/npwrap.cxx b/extensions/source/plugin/unx/npwrap.cxx
index 7c7fe66a1061..b4af3b3e6d8c 100644
--- a/extensions/source/plugin/unx/npwrap.cxx
+++ b/extensions/source/plugin/unx/npwrap.cxx
@@ -280,7 +280,7 @@ static gboolean pollXtTimerCallback(gpointer)
static gboolean prepareWakeupEvent( GSource*, gint* )
{
struct pollfd aPoll = { wakeup_fd[0], POLLIN, 0 };
- poll( &aPoll, 1, 0 );
+ (void)poll(&aPoll, 1, 0);
return (aPoll.revents & POLLIN ) != 0;
}