Tokenizer: give dead pointer a value

This commit is contained in:
Daniel Marjamäki 2010-05-21 08:26:53 +02:00
parent 78614b8dc1
commit 8d2e4bc553
1 changed files with 1 additions and 0 deletions

View File

@ -6887,6 +6887,7 @@ void Tokenizer::simplifyComma()
// delete old "return"
startFrom->previous()->deleteThis();
startFrom = 0; // give dead pointer a value
tok = endAt;
if (!tok)