Revert "Fix potential null pointer dereference"
This reverts commit 6ca76ff965
.
This commit is contained in:
parent
2566fd09da
commit
fe3abd678f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue