From: Lennart Poettering Date: Thu, 28 Jul 2011 13:48:58 +0000 (+0200) Subject: dbus: the changes array might actually be NULL when ti is empty X-Git-Tag: v32~10 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=d605b2fd41b671f93ae5cb67488978846427dda9;hp=288088b86c29d0e3074c425eaf4307f89deee11c;ds=sidebyside dbus: the changes array might actually be NULL when ti is empty --- diff --git a/src/dbus-manager.c b/src/dbus-manager.c index 66cf9ee67..413d1f320 100644 --- a/src/dbus-manager.c +++ b/src/dbus-manager.c @@ -435,8 +435,6 @@ static DBusMessage *message_from_file_changes( DBusMessage *reply; unsigned i; - assert(changes); - reply = dbus_message_new_method_return(m); if (!reply) return NULL;