summaryrefslogtreecommitdiff
path: root/vcl/headless/svpinst.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-27 13:32:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-10-27 14:34:21 +0000
commit21a8b7a6fe3f198b66fd1ecc21ce7df16f4a824e (patch)
tree5413a581972e2a6ff8e3c59b3985e08863eaff79 /vcl/headless/svpinst.cxx
parent5aee676bcce1d8b6c26d0a7420d53841f22ee17b (diff)
coverity#735348 silence Unchecked return value from library
Change-Id: I6da2fccb0c709f08dc4ed321d7b16683e939cac9
Diffstat (limited to 'vcl/headless/svpinst.cxx')
-rw-r--r--vcl/headless/svpinst.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 73e985d5b0bc..3f20e1909921 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -79,21 +79,21 @@ SvpSalInstance::SvpSalInstance( SalYieldMutex *pMutex ) :
if ((flags = fcntl (m_pTimeoutFDS[0], F_GETFD)) != -1)
{
flags |= FD_CLOEXEC;
- (void)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;
- (void)fcntl (m_pTimeoutFDS[1], F_SETFD, flags);
+ (void)fcntl(m_pTimeoutFDS[1], F_SETFD, flags);
}
// set non-blocking I/O flag.
- if ((flags = fcntl (m_pTimeoutFDS[0], F_GETFL)) != -1)
+ if ((flags = fcntl(m_pTimeoutFDS[0], F_GETFL)) != -1)
{
flags |= O_NONBLOCK;
(void)fcntl(m_pTimeoutFDS[0], F_SETFL, flags);
}
- if ((flags = fcntl (m_pTimeoutFDS[1], F_GETFL)) != -1)
+ if ((flags = fcntl(m_pTimeoutFDS[1], F_GETFL)) != -1)
{
flags |= O_NONBLOCK;
(void)fcntl(m_pTimeoutFDS[1], F_SETFL, flags);