Commit 2510f60e authored by Thomas Haller's avatar Thomas Haller

cli: avoid "-Wduplicate-decl-specifier" warning in nmcli's resolve_color_alias()

    [1/2] Compiling C object 'clients/cli/2641089@@nmcli@exe/nmcli.c.o'.
    ../clients/cli/nmcli.c: In function ‘resolve_color_alias’:
    ../clients/cli/nmcli.c:507:4: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
      } const aliases[] = {
        ^~~~~
parent 2fe9ade1
......@@ -504,7 +504,7 @@ resolve_color_alias (const char *color)
static const struct {
const char *name;
const char *alias;
} const aliases[] = {
} aliases[] = {
{ "reset", "0" },
{ "bold", "1" },
{ "white", "1;37" },
......
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