fix compilation bugs after cppcheck fixes

This commit is contained in:
frtabu
2019-01-22 22:43:33 +01:00
parent 1cb484f1b6
commit 1d86c8a95a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ int config_check_unknown_cmdlineopt(char *prefix) {
char testprefix[CONFIG_MAXOPTLENGTH];
int finalcheck = 0;
memset(testpref,0,sizeof(testprefix));
memset(testprefix,0,sizeof(testprefix));
if (prefix != NULL) {
if (strcmp(prefix,CONFIG_CHECKALLSECTIONS) == 0)
finalcheck = 1;