libnm-core/tests: fix compiler warning about unused variable

make[5]: Entering directory './NetworkManager/libnm-core/tests'
      CC       test-general.o
    test-general.c:3776:24: error: unused variable 'error' [-Werror,-Wunused-variable]
            gs_free_error GError *error = NULL;
                                  ^
This commit is contained in:
Thomas Haller 2016-08-31 14:27:56 +02:00
parent d55cbd327b
commit ad2b1c0c75

View file

@ -3773,7 +3773,6 @@ test_connection_normalize_may_fail (void)
{
gs_unref_object NMConnection *con = NULL;
NMSettingIPConfig *s_ip4, *s_ip6;
gs_free_error GError *error = NULL;
con = nmtst_create_minimal_connection ("test2", NULL, NM_SETTING_WIRED_SETTING_NAME, NULL);
nmtst_assert_connection_verifies_and_normalizable (con);