Tokenizer: Added missing comma in string array initialization (This fixes Coverity-ID: 1226263 Missing comma in a string array initialization).
This commit is contained in:
parent
6e5a05104b
commit
af6f21308f
|
@ -6843,7 +6843,7 @@ bool Tokenizer::simplifyKnownVariablesSimplify(Token **tok2, Token *tok3, unsign
|
||||||
if (Token::Match(tok3, ("%var% ( %any% , " + structname + " %varid% ,|)").c_str(), varid)) {
|
if (Token::Match(tok3, ("%var% ( %any% , " + structname + " %varid% ,|)").c_str(), varid)) {
|
||||||
static const char * const functionName[] = {
|
static const char * const functionName[] = {
|
||||||
// always simplify
|
// always simplify
|
||||||
"strcmp","strcpy","strncmp","strncpy"
|
"strcmp","strcpy","strncmp","strncpy",
|
||||||
// don't simplify buffer value
|
// don't simplify buffer value
|
||||||
"memcmp","memcpy","memmove"
|
"memcmp","memcpy","memmove"
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue