Skip to content

Commit

Permalink
Fix NULL check
Browse files Browse the repository at this point in the history
  • Loading branch information
siiky committed Jan 10, 2018
1 parent 796684b commit 089e54d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/cxx/cxx_token_chain.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ void cxxTokenChainJoinRangeInString(
while(t && (t != to))
{
t = t->pNext;
if(t)
if(!t)
return;

if(szSeparator)
Expand Down

0 comments on commit 089e54d

Please sign in to comment.