Skip to content
Commit 4b41f9f2 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Carles Cufí
Browse files

net: wifi: Fix compile error when -Werror -Wextra are set



The warning which became error looks like this

error: type qualifiers ignored on function return type
                                [-Werror=ignored-qualifiers]
  219 | const char * const wifi_ps_txt(enum wifi_ps ps_name);

It is pointless to add a const qualifier to a return value.
So remove the const pointer to avoid this warning.

Fixes #64197

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@nordicsemi.no>
parent e8bbb033
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment