Skip to content

Commit

Permalink
nullptr check
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jan 30, 2024
1 parent 2b6a1ff commit e61f369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/symboldatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7201,7 +7201,7 @@ static const Token* parsedecl(const Token* type,
if (!type->originalName().empty())
valuetype->originalTypeName = type->originalName();
type = type->next();
if (type->link() && type->str() == "<")
if (type && type->link() && type->str() == "<")
type = type->link()->next();
}

Expand Down

0 comments on commit e61f369

Please sign in to comment.