summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-01-25 15:41:14 -0600
committerDan Williams <dcbw@redhat.com>2011-01-25 15:41:14 -0600
commit9806a92eaa1754146cfdf1b57b95789ee405e089 (patch)
treeedd1f650d2ca7b5d2fc7bb4e6dc1ad0244f6123e /test
parentb7259fd2a8b87342f53d66d979c1dbfb531743eb (diff)
downloadNetworkManager-9806a92eaa1754146cfdf1b57b95789ee405e089.tar.gz
trivial: fix some possible uninitialized variable usage in error cases
Diffstat (limited to 'test')
-rw-r--r--test/nm-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nm-tool.c b/test/nm-tool.c
index 65546e48e5..ea3ef13b6c 100644
--- a/test/nm-tool.c
+++ b/test/nm-tool.c
@@ -724,7 +724,7 @@ get_all_connections (void)
{
GError *error = NULL;
DBusGConnection *bus;
- DBusGProxy *proxy;
+ DBusGProxy *proxy = NULL;
GPtrArray *paths = NULL;
int i;
gboolean sucess = FALSE;