minor constness fix

This commit is contained in:
Daniel Marjamäki 2017-07-08 21:41:57 +02:00
parent 6b48781fdc
commit 6c2002a150
1 changed files with 1 additions and 1 deletions

View File

@ -6249,7 +6249,7 @@ bool Tokenizer::simplifyKnownVariables()
// auto variables..
for (Token *tok = list.front(); tok; tok = tok->next()) {
// Search for a block of code
Token *start = const_cast<Token *>(startOfExecutableScope(tok));
Token * const start = const_cast<Token *>(startOfExecutableScope(tok));
if (!start)
continue;