mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 776745 - [b2g-bluetooth] Crash in bluetooth discovery due to initializer buried in NS_ASSERTION; r=anygregor
This commit is contained in:
parent
510caa84fe
commit
ad0739b48e
@ -403,8 +403,10 @@ EventFilter(DBusConnection* aConn, DBusMessage* aMsg, void* aData)
|
||||
|
||||
DBusMessageIter iter;
|
||||
|
||||
NS_ASSERTION(dbus_message_iter_init(aMsg, &iter),
|
||||
"Can't create message iterator!");
|
||||
if (!dbus_message_iter_init(aMsg, &iter)) {
|
||||
NS_WARNING("Can't create iterator!");
|
||||
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
|
||||
}
|
||||
|
||||
InfallibleTArray<BluetoothNamedValue> value;
|
||||
const char* addr;
|
||||
|
Loading…
Reference in New Issue
Block a user