From 66b9f3ca8a82b497a6ec3a4a4fff1271d5f80b98 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 3 Feb 2018 12:08:09 +0200 Subject: [PATCH] wpa_cli: Fix cred_fields[] declaration This was supposed to be an array of const-pointers to const-char; not something duplicating const for char and resulting in compiler warnings with more recent gcc versions. Signed-off-by: Jouni Malinen --- wpa_supplicant/wpa_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c index 7d2d6acd0..17f1e61a8 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 * const 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",