diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:09:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:09:37 +0200 |
commit | 9f27587c9db0a5d2daeb7529e477b4199beb2876 (patch) | |
tree | ebe2a013258990f9f72d28e0db5a2e4b1ca87870 /sd/source | |
parent | 8e949018befc341979e54ec759795d8615cc7f23 (diff) |
loplugin:casttovoid
Change-Id: I2a4d11badeefdf1ede1f44e1d4ed53074ff8ebfd
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index b0f8574f7300..2cc8380926ca 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.cxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx @@ -551,11 +551,9 @@ void OSXBluetoothWrapper::channelClosed() } void incomingCallback( void *userRefCon, - IOBluetoothUserNotificationRef inRef, + IOBluetoothUserNotificationRef, IOBluetoothObjectRef objectRef ) { - (void) inRef; - SAL_INFO( "sdremote.bluetooth", "incomingCallback()" ); BluetoothServer* pServer = static_cast<BluetoothServer*>(userRefCon); @@ -1500,14 +1498,11 @@ void SAL_CALL BluetoothServer::run() [serviceRecord getServiceRecordHandle: &serviceRecordHandle]; // Register callback for incoming connections - IOBluetoothUserNotificationRef callbackRef = - IOBluetoothRegisterForFilteredRFCOMMChannelOpenNotifications( - incomingCallback, - this, - channelID, - kIOBluetoothUserNotificationChannelDirectionIncoming); - - (void) callbackRef; + IOBluetoothRegisterForFilteredRFCOMMChannelOpenNotifications( + incomingCallback, + this, + channelID, + kIOBluetoothUserNotificationChannelDirectionIncoming); [serviceRecord release]; } |