summaryrefslogtreecommitdiffstats
path: root/tools/dbus-viewer.c
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2005-11-30 19:32:27 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2005-11-30 19:32:27 +0000
commit0ca96ec548a6e4a1e39429f3c0480adfe7e2eab8 (patch)
tree90cf95cc76cdd8e3242eb94e9ae7703b8fbd829d /tools/dbus-viewer.c
parent111118fd8a9240440ec0e4b9710bebf91e186881 (diff)
* dbus/dbus-auth.c, dbus/dbus-connection.c, dbus/dbus-keyring.c,
dbus/dbus-server-debug-pipe.c, glib/dbus-binding-tool-glib.c glib/dbus-glib-tool.c, glib/dbus-gparser.c, glib/dbus-gproxy.c test/test-segfault.c, test/test-utils.c, test/glib/test-dbus-glib.c, tools/dbus-cleanup-sockets.c tools/dbus-launch.c, tools/dbus-tree-view.c, tools/dbus-viewer.c: Various cleanup of dead code and compiler warnings (patch from Kjartan Maraas <kmaraas at gnome.org>)
Diffstat (limited to 'tools/dbus-viewer.c')
-rw-r--r--tools/dbus-viewer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/dbus-viewer.c b/tools/dbus-viewer.c
index 8eb63dd3..2ff3267f 100644
--- a/tools/dbus-viewer.c
+++ b/tools/dbus-viewer.c
@@ -484,7 +484,6 @@ version (void)
int
main (int argc, char **argv)
{
- const char *prev_arg;
int i;
GSList *files;
gboolean end_of_args;
@@ -506,7 +505,6 @@ main (int argc, char **argv)
services = FALSE;
end_of_args = FALSE;
files = NULL;
- prev_arg = NULL;
i = 1;
while (i < argc)
{
@@ -538,8 +536,6 @@ main (int argc, char **argv)
else
files = g_slist_prepend (files, (char*) arg);
- prev_arg = arg;
-
++i;
}