summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-07-06 06:16:49 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-07-06 06:58:05 +0200
commitf914d63ef46ccc4f62228edc394353948a1a3da4 (patch)
treeb5082a42d59ad843174010731a29be2f589e60a3 /sd/source/ui/remotecontrol
parent15a3cd62b0129909480e37d19c922359accdb096 (diff)
coverity#1202763: Unchecked return value
Change-Id: I82d098f269bae2f4deb7e997b03e4267e6a86bea
Diffstat (limited to 'sd/source/ui/remotecontrol')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index d778f56d46c6..ea99e0c7b09c 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -932,7 +932,7 @@ DBusHandlerResult ProfileMessageFunction
// Bluez gives us non-blocking sockets, but our code relies
// on blocking behaviour.
- fcntl(nDescriptor, F_SETFL, fcntl(nDescriptor, F_GETFL) & ~O_NONBLOCK);
+ (void)fcntl(nDescriptor, F_SETFL, fcntl(nDescriptor, F_GETFL) & ~O_NONBLOCK);
SAL_INFO( "sdremote.bluetooth", "connection accepted " << nDescriptor);
Communicator* pCommunicator = new Communicator( new BufferedStreamSocket( nDescriptor ) );