diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-07-06 06:16:49 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-07-06 06:58:05 +0200 |
commit | f914d63ef46ccc4f62228edc394353948a1a3da4 (patch) | |
tree | b5082a42d59ad843174010731a29be2f589e60a3 /sd | |
parent | 15a3cd62b0129909480e37d19c922359accdb096 (diff) |
coverity#1202763: Unchecked return value
Change-Id: I82d098f269bae2f4deb7e997b03e4267e6a86bea
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 2 |
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 ) ); |