@@ -290,26 +290,26 @@ void CheckBool::checkComparisonOfBoolWithBool()
290290 for (const Token* tok = scope->classStart ->next (); tok != scope->classEnd ; tok = tok->next ()) {
291291 if (tok->type () != Token::eComparisonOp || tok->str () == " ==" || tok->str () == " !=" )
292292 continue ;
293- bool first_token_bool = false ;
293+ bool firstTokenBool = false ;
294294
295- const Token *first_token = tok->previous ();
296- if (first_token ->varId ()) {
297- if (isBool (first_token ->variable ())) {
298- first_token_bool = true ;
295+ const Token *firstToken = tok->previous ();
296+ if (firstToken ->varId ()) {
297+ if (isBool (firstToken ->variable ())) {
298+ firstTokenBool = true ;
299299 }
300300 }
301- if (!first_token_bool )
301+ if (!firstTokenBool )
302302 continue ;
303303
304- bool second_token_bool = false ;
305- const Token *second_token = tok->next ();
306- if (second_token ->varId ()) {
307- if (isBool (second_token ->variable ())) {
308- second_token_bool = true ;
304+ bool secondTokenBool = false ;
305+ const Token *secondToken = tok->next ();
306+ if (secondToken ->varId ()) {
307+ if (isBool (secondToken ->variable ())) {
308+ secondTokenBool = true ;
309309 }
310310 }
311- if (second_token_bool ) {
312- comparisonOfBoolWithBoolError (first_token ->next (), first_token ->str ());
311+ if (secondTokenBool ) {
312+ comparisonOfBoolWithBoolError (firstToken ->next (), secondToken ->str ());
313313 }
314314 }
315315 }
0 commit comments