projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f822e
)
dbus-send: remove minor dead code
author
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Wed, 26 Jan 2011 18:40:49 +0000
(18:40 +0000)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Wed, 25 May 2011 15:11:27 +0000
(16:11 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33128
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
tools/dbus-send.c
patch
|
blob
|
history
diff --git
a/tools/dbus-send.c
b/tools/dbus-send.c
index
c7d5090
..
e5df15c
100644
(file)
--- 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)