summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-27 13:31:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-10-27 14:34:20 +0000
commit5aee676bcce1d8b6c26d0a7420d53841f22ee17b (patch)
treed291299e0ab4d482b926bd5a67394137c837addf /vcl/headless
parent6cbdfedde17c672576b5a27a9ebac1a84535dd63 (diff)
coverity#735342 silence Unchecked return value from library
Change-Id: Id440d30e44aaf986532d4c6debf3876578c53b29
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpinst.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 8efbcda84fb4..73e985d5b0bc 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -79,12 +79,12 @@ SvpSalInstance::SvpSalInstance( SalYieldMutex *pMutex ) :
if ((flags = fcntl (m_pTimeoutFDS[0], F_GETFD)) != -1)
{
flags |= FD_CLOEXEC;
- fcntl (m_pTimeoutFDS[0], F_SETFD, flags);
+ (void)fcntl (m_pTimeoutFDS[0], F_SETFD, flags);
}
if ((flags = fcntl (m_pTimeoutFDS[1], F_GETFD)) != -1)
{
flags |= FD_CLOEXEC;
- fcntl (m_pTimeoutFDS[1], F_SETFD, flags);
+ (void)fcntl (m_pTimeoutFDS[1], F_SETFD, flags);
}
// set non-blocking I/O flag.