diff --git a/lib/checknullpointer.cpp b/lib/checknullpointer.cpp index 5ca5a3159..a260bf5be 100644 --- a/lib/checknullpointer.cpp +++ b/lib/checknullpointer.cpp @@ -150,14 +150,14 @@ void CheckNullPointer::parseFunctionCall(const Token &tok, std::listnext()) { // Find next argument if (argListTok->str() == "(") argListTok = argListTok->link(); - if(argListTok == 0) + if (argListTok == 0) break; if (argListTok->str() == ",") { argListTok = argListTok->next(); break; } } - if(!argListTok) + if (!argListTok) break; percent = false; }