summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/app/sm.cxx8
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);