diff options
-rw-r--r-- | examples/C/glib/add-connection-libnm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/C/glib/add-connection-libnm.c b/examples/C/glib/add-connection-libnm.c index f206340e0c..7b20c9ab49 100644 --- a/examples/C/glib/add-connection-libnm.c +++ b/examples/C/glib/add-connection-libnm.c @@ -37,7 +37,7 @@ added_cb (GObject *client, { GMainLoop *loop = user_data; NMRemoteConnection *remote; - GError *error; + GError *error = NULL; /* NM responded to our request; either handle the resulting error or * print out the object path of the connection we just added. |