lint warnings

This commit is contained in:
proddy
2025-01-26 13:30:53 +01:00
parent 20b978c46c
commit 2620f56e0d
4 changed files with 11 additions and 7 deletions

View File

@@ -220,7 +220,7 @@ const char * Command::return_code_string(const uint8_t return_code) {
default:
break;
}
static char s[4];
static char s[4]; // static to avoid allocation on each call and loosing scope
return Helpers::smallitoa(s, return_code);
}