Kaydet (Commit) 2f454648 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#982164 silence Unchecked return value from library

Change-Id: Ibec38a7e7846c463601b0a876778f53003cf0441
üst 28dbb393
......@@ -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] );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment