mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 02:20:12 +01:00
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: f04bf45e84
This commit is contained in:
parent
797eab2f6b
commit
c7b3c23af2
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue