fix(nimble): Fixed compilation warning for CONFIG_COMPILER_WARN_WRITE_STRINGS

If built with
CONFIG_COMPILER_WARN_WRITE_STRINGS=y, the
compiler emits warnings about the non-const
pointer pointing to literal strings. This fixes
it.
This commit is contained in:
nvmd
2025-02-15 20:16:02 +05:30
committed by Rahul Tank
parent 1f269c4d7e
commit 13ff6176d4
+1 -1
View File
@@ -108,7 +108,7 @@
struct err_code {
int error_code;
char *msg;
const char *msg;
};
static struct err_code core_err_code_list[] = {