From 2f4546487adca8ee14494048e693ab0114dfa4fa Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 25 Oct 2014 16:32:43 +0100 Subject: coverity#982164 silence Unchecked return value from library Change-Id: Ibec38a7e7846c463601b0a876778f53003cf0441 --- extensions/source/plugin/unx/npwrap.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/source/plugin') 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] ); -- cgit