[Libreoffice-commits] .: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 5 06:07:22 PST 2012


 sd/source/ui/remotecontrol/BluetoothServer.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9f417544f83fb5645abd7b74382bede2246c73b8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Dec 5 15:06:51 2012 +0100

    warning C4100: 'aDiscoverable' : unreferenced formal parameter
    
    Change-Id: I7bb5e40e8da943926f7fd8b1f76e010d073362c9

diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 41255ba..9ba9bad 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -233,6 +233,7 @@ void BluetoothServer::setDiscoverable( bool aDiscoverable )
     g_object_unref( G_OBJECT( aAdapter ));
     dbus_g_connection_unref( aConnection );
 #else // defined(LINUX) && defined(ENABLE_DBUS)
+    (void) aDiscoverable; // avoid warnings
     return;
 #endif
 }


More information about the Libreoffice-commits mailing list