mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 20:40:18 +01:00
Patch from Colin Walters: fix g_assert() usage
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@599 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
a171690d96
commit
7397161e03
1 changed files with 4 additions and 1 deletions
|
|
@ -86,7 +86,10 @@ static DBusMessage *nm_dbus_nm_get_devices (DBusConnection *connection, DBusMess
|
|||
* (something which should never happen), die.
|
||||
*/
|
||||
if (!appended)
|
||||
g_assert ("Device list existed, but no devices were in it.");
|
||||
{
|
||||
nm_warning ("Device list existed, but no devices were in it.");
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
|
||||
dbus_message_iter_close_container (&iter, &iter_array);
|
||||
nm_unlock_mutex (data->data->dev_list_mutex, __FUNCTION__);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue