mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 22:46:15 +01:00
gdbus-tool: Remove dead variables
Coverity issues: #1159447, #1159446 https://bugzilla.gnome.org/show_bug.cgi?id=730295
This commit is contained in:
parent
03a82ce898
commit
cdb9670dc3
@ -1735,16 +1735,12 @@ handle_monitor (gint *argc,
|
|||||||
gchar *s;
|
gchar *s;
|
||||||
GError *error;
|
GError *error;
|
||||||
GDBusConnection *c;
|
GDBusConnection *c;
|
||||||
GVariant *result;
|
|
||||||
GDBusNodeInfo *node;
|
|
||||||
gboolean complete_names;
|
gboolean complete_names;
|
||||||
gboolean complete_paths;
|
gboolean complete_paths;
|
||||||
GMainLoop *loop;
|
GMainLoop *loop;
|
||||||
|
|
||||||
ret = FALSE;
|
ret = FALSE;
|
||||||
c = NULL;
|
c = NULL;
|
||||||
node = NULL;
|
|
||||||
result = NULL;
|
|
||||||
|
|
||||||
modify_argv0_for_command (argc, argv, "monitor");
|
modify_argv0_for_command (argc, argv, "monitor");
|
||||||
|
|
||||||
@ -1887,10 +1883,6 @@ handle_monitor (gint *argc,
|
|||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
if (node != NULL)
|
|
||||||
g_dbus_node_info_unref (node);
|
|
||||||
if (result != NULL)
|
|
||||||
g_variant_unref (result);
|
|
||||||
if (c != NULL)
|
if (c != NULL)
|
||||||
g_object_unref (c);
|
g_object_unref (c);
|
||||||
g_option_context_free (o);
|
g_option_context_free (o);
|
||||||
|
Loading…
Reference in New Issue
Block a user