minor constness fix
This commit is contained in:
parent
6b48781fdc
commit
6c2002a150
|
@ -6249,7 +6249,7 @@ bool Tokenizer::simplifyKnownVariables()
|
||||||
// auto variables..
|
// auto variables..
|
||||||
for (Token *tok = list.front(); tok; tok = tok->next()) {
|
for (Token *tok = list.front(); tok; tok = tok->next()) {
|
||||||
// Search for a block of code
|
// Search for a block of code
|
||||||
Token *start = const_cast<Token *>(startOfExecutableScope(tok));
|
Token * const start = const_cast<Token *>(startOfExecutableScope(tok));
|
||||||
if (!start)
|
if (!start)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue