Revert "Fix potential null pointer dereference"

This reverts commit 6ca76ff965.
This commit is contained in:
Daniel Marjamäki 2016-08-04 10:40:07 +02:00
parent 2566fd09da
commit fe3abd678f
1 changed files with 0 additions and 1 deletions

View File

@ -2414,7 +2414,6 @@ private:
ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 3 && f->function()->token->linenr() == 9);
f = Token::findsimplematch(tokenizer.tokens(), "~ MyClass ( ) ;");
ASSERT(f != nullptr);
f = f->next();
ASSERT_EQUALS(true, db && f && f->function() && f->function()->tokenDef->linenr() == 4 && f->function()->token->linenr() == 8);
}