mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 20:00:32 +01:00
trivial: fix some possible uninitialized variable usage in error cases
This commit is contained in:
parent
b7259fd2a8
commit
9806a92eaa
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue