summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2014-05-17 12:08:58 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2014-05-20 11:03:02 +0100
commitcdb9670dc3448e3f582e04c742f3689d619d066d (patch)
tree285d623bee100ad42b7d91a59f47ec2fd1e5cb10
parent03a82ce898ea435efd73a250d989f8dc6249aaf8 (diff)
gdbus-tool: Remove dead variables
Coverity issues: #1159447, #1159446 https://bugzilla.gnome.org/show_bug.cgi?id=730295
-rw-r--r--gio/gdbus-tool.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gio/gdbus-tool.c b/gio/gdbus-tool.c
index f6b709b96..f24dd7115 100644
--- a/gio/gdbus-tool.c
+++ b/gio/gdbus-tool.c
@@ -1735,16 +1735,12 @@ handle_monitor (gint *argc,
gchar *s;
GError *error;
GDBusConnection *c;
- GVariant *result;
- GDBusNodeInfo *node;
gboolean complete_names;
gboolean complete_paths;
GMainLoop *loop;
ret = FALSE;
c = NULL;
- node = NULL;
- result = NULL;
modify_argv0_for_command (argc, argv, "monitor");
@@ -1887,10 +1883,6 @@ handle_monitor (gint *argc,
ret = TRUE;
out:
- if (node != NULL)
- g_dbus_node_info_unref (node);
- if (result != NULL)
- g_variant_unref (result);
if (c != NULL)
g_object_unref (c);
g_option_context_free (o);