diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-25 16:32:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-25 16:56:25 +0100 |
commit | 28dbb39389564c5ba421de3ca3d6ab07fc596ab4 (patch) | |
tree | 4159bfd49fc3ab268cf32e708766c9adca4020d9 /extensions/source | |
parent | 25e0764965e1abc2495213aea56140aec86fdd48 (diff) |
coverity#982163 silence Unchecked return value from library
Change-Id: I6b9a3c6ce75472da551706b1c1555eff4ba1abc8
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/plugin/unx/npwrap.cxx | 2 |
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; } |