src/tokenize.cpp(unwantedWords): propagate const modifier.
No functional change.
This commit is contained in:
parent
2120edb89b
commit
8822cbb713
|
@ -1054,7 +1054,7 @@ void Tokenizer::simplifyTokenList()
|
|||
}
|
||||
|
||||
// Remove unwanted keywords
|
||||
static const char* unwantedWords[] = { "unsigned", "unlikely", "likely" };
|
||||
static const char * const unwantedWords[] = { "unsigned", "unlikely", "likely" };
|
||||
for (Token *tok = _tokens; tok; tok = tok->next())
|
||||
{
|
||||
for (unsigned ui = 0; ui < sizeof(unwantedWords) / sizeof(unwantedWords[0]) && tok->next(); ui++)
|
||||
|
|
Loading…
Reference in New Issue