From 0d23c2784628eafa3785d59e1a28371161a39d1f Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 26 Jan 2011 18:40:49 +0000 Subject: [PATCH 2/2] dbus-send: remove minor dead code Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33128 --- 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 c7d5090..e5df15c 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) -- 1.7.2.3