summaryrefslogtreecommitdiff
path: root/clients/cli/nmcli.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-02-08 12:00:13 +0100
committerThomas Haller <thaller@redhat.com>2019-02-08 20:14:50 +0100
commit2510f60e92a0801b6f66fc80759d45fd2d3c41cf (patch)
treeb1559bebd2eed5fa3845d44880ea423f6bf8a115 /clients/cli/nmcli.c
parent2fe9ade10d6b25fb5f2914e21a92497b1659a173 (diff)
downloadNetworkManager-2510f60e92a0801b6f66fc80759d45fd2d3c41cf.tar.gz
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[] = { ^~~~~
Diffstat (limited to 'clients/cli/nmcli.c')
-rw-r--r--clients/cli/nmcli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/nmcli.c b/clients/cli/nmcli.c
index 6d38a58857..c8253fff9a 100644
--- a/clients/cli/nmcli.c
+++ b/clients/cli/nmcli.c
@@ -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" },