mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1166575 - Silence uninitialized variable error in BluetoothHALInterface.cpp when building a debug B2G build. r=tzimmermann
This commit is contained in:
parent
7851a5921b
commit
fedc4dfb41
@ -640,6 +640,8 @@ BluetoothHALInterface::GetRemoteDeviceProperty(
|
||||
|
||||
if (NS_SUCCEEDED(Convert(aRemoteAddr, remoteAddr)) &&
|
||||
false /* TODO: we don't support any values for aName currently */) {
|
||||
// silence uninitialized variable warning for |name|
|
||||
name = static_cast<bt_property_type_t>(0);
|
||||
status = mInterface->get_remote_device_property(&remoteAddr, name);
|
||||
} else {
|
||||
status = BT_STATUS_PARM_INVALID;
|
||||
|
Loading…
Reference in New Issue
Block a user