[1/2] wpa_cli: Fix duplicate const warning

Message ID 1515383840-7921-1-git-send-email-masashi.honma@gmail.com
State New
Headers show
Series
  • [1/2] wpa_cli: Fix duplicate const warning
Related show

Commit Message

Masashi Honma Jan. 8, 2018, 3:57 a.m.
wpa_cli.c:1541:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
 static const char const *cred_fields[] = {
                   ^~~~~

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
---
 wpa_supplicant/wpa_cli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c
index 7d2d6ac..3d5ac18 100644
--- a/wpa_supplicant/wpa_cli.c
+++ b/wpa_supplicant/wpa_cli.c
@@ -1538,7 +1538,7 @@  static int wpa_cli_cmd_remove_cred(struct wpa_ctrl *ctrl, int argc,
 }
 
 
-static const char const *cred_fields[] = {
+static const char *cred_fields[] = {
 	"temporary", "priority", "sp_priority", "pcsc", "eap",
 	"update_identifier", "min_dl_bandwidth_home", "min_ul_bandwidth_home",
 	"min_dl_bandwidth_roaming", "min_ul_bandwidth_roaming", "max_bss_load",