mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 844707 - Fix warnings in debug build, r=echou
This commit is contained in:
parent
16e0bf8187
commit
ebe9a6d53b
@ -122,7 +122,7 @@ BluetoothScoManager::Init()
|
||||
mSocketStatus = GetConnectionStatus();
|
||||
|
||||
sScoObserver = new BluetoothScoManagerObserver();
|
||||
if (sScoObserver->Init()) {
|
||||
if (!sScoObserver->Init()) {
|
||||
NS_WARNING("Cannot set up SCO observers!");
|
||||
}
|
||||
return true;
|
||||
|
@ -2466,11 +2466,9 @@ BluetoothDBusService::Connect(const nsAString& aDeviceAddress,
|
||||
errorStr.AssignLiteral("BluetoothOppManager has connected/is connecting!");
|
||||
DispatchBluetoothReply(aRunnable, v, errorStr);
|
||||
}
|
||||
} else {
|
||||
NS_WARNING("Unknown Profile");
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
NS_WARNING("Unknown Profile");
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user