diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-11 11:21:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-11 17:11:11 +0200 |
commit | 69c9acd0d275fba2b387bd64584227f5ffcfce0d (patch) | |
tree | 5b694bf3ded57757fc06e66bbb52301c9b7b19c3 /sd/source | |
parent | -Werror,-Wunused-private-field (various sc) (diff) | |
download | core-69c9acd0d275fba2b387bd64584227f5ffcfce0d.tar.gz core-69c9acd0d275fba2b387bd64584227f5ffcfce0d.zip |
-Werror,-Wunused-private-field workaround (BluetoothServer)
Change-Id: I7c5428c74f6d7ff759ed9853cb44bcd7c2d3d514
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 9 |
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 } |