diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-27 20:57:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-28 10:31:27 +0000 |
commit | 3130f06bb5a07a6fc31911a59666e0ce3aedf162 (patch) | |
tree | 59003c078e05a1d80f841e0c97cf5ef7c72f2dbc /vcl | |
parent | 119f0da5037ebea7f3f6dabfb354d1cf1c41bb82 (diff) |
coverity#735350 silence Unchecked return value from library
Change-Id: I8b84466f8bb277c30df4340849b17506eddd4f21
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/app/sm.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx index 4c0536f9f5cf..13962d60a3b5 100644 --- a/vcl/unx/generic/app/sm.cxx +++ b/vcl/unx/generic/app/sm.cxx @@ -699,23 +699,23 @@ void ICEWatchProc( if ((flags = fcntl(pThis->m_nWakeupFiles[0], F_GETFD)) != -1) { flags |= FD_CLOEXEC; - fcntl(pThis->m_nWakeupFiles[0], F_SETFD, flags); + (void)fcntl(pThis->m_nWakeupFiles[0], F_SETFD, flags); } if ((flags = fcntl(pThis->m_nWakeupFiles[0], F_GETFL)) != -1) { flags |= O_NONBLOCK; - fcntl(pThis->m_nWakeupFiles[0], F_SETFL, flags); + (void)fcntl(pThis->m_nWakeupFiles[0], F_SETFL, flags); } // set close-on-exec and nonblock descriptor flag. if ((flags = fcntl(pThis->m_nWakeupFiles[1], F_GETFD)) != -1) { flags |= FD_CLOEXEC; - fcntl(pThis->m_nWakeupFiles[1], F_SETFD, flags); + (void)fcntl(pThis->m_nWakeupFiles[1], F_SETFD, flags); } if ((flags = fcntl(pThis->m_nWakeupFiles[1], F_GETFL)) != -1) { flags |= O_NONBLOCK; - fcntl(pThis->m_nWakeupFiles[1], F_SETFL, flags); + (void)fcntl(pThis->m_nWakeupFiles[1], F_SETFL, flags); } pThis->m_ICEThread = osl_createThread( ICEConnectionWorker, pThis); |