summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-25 16:34:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-25 16:56:27 +0100
commit33492060dd97d625ff7bf5660218306363d118d0 (patch)
tree9b1ab3609fc8411cc258b982335daa30ae4f2865 /vcl/unx
parent859656f40d005bd264af40256efe27ebbd3acfb8 (diff)
coverity#735348 silence Unchecked return value from library
Change-Id: I834dabc524ac2e1af6a77da8f66edfc349e6556d
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/app/saldata.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx
index bcb04d0bcd51..04360e2fdf35 100644
--- a/vcl/unx/generic/app/saldata.cxx
+++ b/vcl/unx/generic/app/saldata.cxx
@@ -367,12 +367,12 @@ SalXLib::SalXLib()
if ((flags = fcntl (m_pTimeoutFDS[0], F_GETFL)) != -1)
{
flags |= O_NONBLOCK;
- fcntl (m_pTimeoutFDS[0], F_SETFL, flags);
+ (void)fcntl(m_pTimeoutFDS[0], F_SETFL, flags);
}
if ((flags = fcntl (m_pTimeoutFDS[1], F_GETFL)) != -1)
{
flags |= O_NONBLOCK;
- fcntl (m_pTimeoutFDS[1], F_SETFL, flags);
+ (void)fcntl(m_pTimeoutFDS[1], F_SETFL, flags);
}
// insert [0] into read descriptor set.