summaryrefslogtreecommitdiff
path: root/src/nm-session-monitor.c
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 /src/nm-session-monitor.c
parentb7259fd2a8b87342f53d66d979c1dbfb531743eb (diff)
downloadNetworkManager-9806a92eaa1754146cfdf1b57b95789ee405e089.tar.gz
trivial: fix some possible uninitialized variable usage in error cases
Diffstat (limited to 'src/nm-session-monitor.c')
-rw-r--r--src/nm-session-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-session-monitor.c b/src/nm-session-monitor.c
index a70067a982..4877b77032 100644
--- a/src/nm-session-monitor.c
+++ b/src/nm-session-monitor.c
@@ -207,7 +207,7 @@ static gboolean
reload_database (NMSessionMonitor *self, GError **error)
{
struct stat statbuf;
- char **groups;
+ char **groups = NULL;
gsize len = 0, i;
Session *s;