diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-01-26 18:40:49 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-05-25 16:11:27 +0100 |
commit | 2ae391ccb388d42f1ac658de01ccbe403920cbfb (patch) | |
tree | d969e705b664a6060d89bc41ad57dd2745892c6e /tools | |
parent | 05f822e3fb7eaeb2801f6a7b178395937a2a20c5 (diff) | |
download | dbus-2ae391ccb388d42f1ac658de01ccbe403920cbfb.tar.gz |
dbus-send: remove minor dead code
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33128
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dbus-send.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/dbus-send.c b/tools/dbus-send.c index c7d50908..e5df15cf 100644 --- a/tools/dbus-send.c +++ b/tools/dbus-send.c @@ -302,10 +302,8 @@ main (int argc, char *argv[]) usage (1); else if (path == NULL) path = arg; - else if (name == NULL) + else /* name == NULL guaranteed by the 'while' loop */ name = arg; - else - usage (1); } if (name == NULL) |