Remove some useless checks

This commit is contained in:
Wim Taymans 2020-05-20 15:15:14 +02:00
parent 8123e271ec
commit d31c057b42
6 changed files with 7 additions and 19 deletions

View file

@ -214,9 +214,6 @@ static DBusHandlerResult object_handler(DBusConnection *c, DBusMessage *m, void
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
invalid:
if (reply)
dbus_message_unref(reply);
if (!(reply = dbus_message_new_error(m,
DBUS_ERROR_INVALID_ARGS,
"Invalid arguments")))