dbus: the changes array might actually be NULL when ti is empty

This commit is contained in:
Lennart Poettering 2011-07-28 15:48:58 +02:00
parent 288088b86c
commit d605b2fd41

View file

@ -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;