trivial: fix some possible uninitialized variable usage in error cases

This commit is contained in:
Dan Williams 2011-01-25 15:41:14 -06:00
parent b7259fd2a8
commit 9806a92eaa
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;