Commit c7b3c23a authored by Thomas Haller's avatar Thomas Haller

ifcfg-rh/tests: avoid duplicate const warning for NO_EXPECTED

    ../src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c:126:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
     static const char const NO_EXPECTED[1];
                       ^~~~~

Fixes: f04bf45e
parent 797eab2f
Pipeline #17590 passed with stages
in 21 minutes and 22 seconds
......@@ -123,7 +123,7 @@ _assert_reread_same_FIXME (NMConnection *connection, NMConnection *reread)
/* dummy path for an "expected" file, meaning: don't check for expected
* written ifcfg file. */
static const char const NO_EXPECTED[1];
static const char NO_EXPECTED[1];
static void
_assert_expected_content (NMConnection *connection, const char *filename, const char *expected)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment