summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-07-02 16:53:06 +0200
committerThomas Haller <thaller@redhat.com>2015-07-02 16:53:35 +0200
commit47551df352b7826a0396c001710e156d4d056a02 (patch)
treeb9cf77d5fd2a9ac94f3e7cfa1bf547995727a3b2
parenta130f72d745bcfef8aca228f40e8d94ce18bbaef (diff)
downloadNetworkManager-47551df352b7826a0396c001710e156d4d056a02.tar.gz
libnm/keyfile: fix compile warning about uninitialized variable
Fixes: 71323122c6b755cfc50ce93c07d6758b45c19cba
-rw-r--r--libnm-core/nm-keyfile-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-keyfile-utils.c b/libnm-core/nm-keyfile-utils.c
index c05f4cd26f..d04a3d1bef 100644
--- a/libnm-core/nm-keyfile-utils.c
+++ b/libnm-core/nm-keyfile-utils.c
@@ -333,7 +333,7 @@ _nm_keyfile_equals (GKeyFile *kf_a, GKeyFile *kf_b, gboolean consider_order)
gboolean
_nm_keyfile_has_values (GKeyFile *keyfile)
{
- gs_strfreev char **groups;
+ gs_strfreev char **groups = NULL;
g_return_val_if_fail (keyfile, FALSE);