summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-11 11:21:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-11 17:11:11 +0200
commit69c9acd0d275fba2b387bd64584227f5ffcfce0d (patch)
tree5b694bf3ded57757fc06e66bbb52301c9b7b19c3 /sd
parentf34f7b65035f0afe1ceac6f5b5d8ddfac824bde9 (diff)
-Werror,-Wunused-private-field workaround (BluetoothServer)
Change-Id: I7c5428c74f6d7ff759ed9853cb44bcd7c2d3d514
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 691951b588fb..5bf242c269ad 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -40,6 +40,7 @@ BluetoothServer::~BluetoothServer()
void BluetoothServer::execute()
{
#if defined(LINUX) && defined(ENABLE_DBUS)
+
g_type_init();
GError *aError = NULL;
@@ -145,13 +146,9 @@ void BluetoothServer::execute()
}
}
-#endif // LINUX && ENABLE_DBUS
-
-#ifdef WIN32
-
-#endif
+#else
-#ifdef MACOSX
+ (void) mpCommunicators; // avoid warnings about unused member
#endif
}