summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-10-01 09:31:09 +0200
committerThomas Haller <thaller@redhat.com>2019-10-01 09:31:14 +0200
commit50f146f6e3c932e261af16706608a6e0508bbd5f (patch)
treedb987d1ef8294ad75788271b824516e8448f8638
parent78acec9168ca790f91585bd54285dd956318478f (diff)
downloadNetworkManager-50f146f6e3c932e261af16706608a6e0508bbd5f.tar.gz
libnm/tests: fix compiler warning about unused variable
Fixes: ad68f3f40251 ('libnm/tests: assert that callers GMainContext is not iterated while nm_client_new()')
-rw-r--r--libnm/tests/test-nm-client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libnm/tests/test-nm-client.c b/libnm/tests/test-nm-client.c
index dce000dc27..cc620a7380 100644
--- a/libnm/tests/test-nm-client.c
+++ b/libnm/tests/test-nm-client.c
@@ -1331,7 +1331,6 @@ test_connection_invalid (void)
NMSettingConnection *s_con;
gs_unref_object NMClient *client = NULL;
const GPtrArray *connections;
- gs_free_error GError *error = NULL;
gs_free char *path0 = NULL;
gs_free char *path1 = NULL;
gs_free char *path2 = NULL;