Skip to content

Conversation

@crank-word
Copy link
Contributor

With Cppcheck 2.7, it will report below error:
report.c:59:18: style: Variable 'msg_name_text' can be declared with const [constVariable]
static char *msg_name_text[N_MSG] = {
Add inline suppression to suppress warning.

With Cppcheck 2.7, it will report below error:
    report.c:59:18: style: Variable   'msg_name_text' can be declared with const [constVariable]
    static char *msg_name_text[N_MSG] = {
Add inline suppression to suppress warning.
@jserv jserv merged commit a5a089b into sysprog21:master Feb 15, 2023
@jserv
Copy link
Contributor

jserv commented Feb 15, 2023

Thank @komark06 for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants