diff --git a/BluetoothControl/BluetoothControl.h b/BluetoothControl/BluetoothControl.h index 72f6a5550..fd4e0ead2 100644 --- a/BluetoothControl/BluetoothControl.h +++ b/BluetoothControl/BluetoothControl.h @@ -893,7 +893,7 @@ class BluetoothControl : public PluginHost::IPlugin DiscoverableChanged(false, adapter::BREDR); } } - void AdvertisingRemoved(const uint8_t instance) + void AdvertisingRemoved(const uint8_t instance VARIABLE_IS_NOT_USED) { /* This event will fire if a BLE discovery scan is complete by timeout. But will not fire is the discovery is stopped by a command (!). */ diff --git a/BluetoothSDPServer/BluetoothSDPServer.cpp b/BluetoothSDPServer/BluetoothSDPServer.cpp index 87e26b4dd..371b2d642 100644 --- a/BluetoothSDPServer/BluetoothSDPServer.cpp +++ b/BluetoothSDPServer/BluetoothSDPServer.cpp @@ -147,7 +147,7 @@ namespace Plugin { _lock.Unlock(); } - /* virtual */ void BluetoothSDPServer::Deinitialize(PluginHost::IShell* service) + /* virtual */ void BluetoothSDPServer::Deinitialize(PluginHost::IShell* service VARIABLE_IS_NOT_USED) { if (_service != nullptr) { ASSERT(_service == service);