From f7ab8c5ebb75e869a6b9050aac5b072496d935aa Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Mon, 4 Sep 2017 22:49:05 +0300 Subject: [PATCH] Drop unneeded parentheses Those are a misleading leftover from old code --- lib/checkclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkclass.cpp b/lib/checkclass.cpp index 6bf4481c3..3f10d296a 100644 --- a/lib/checkclass.cpp +++ b/lib/checkclass.cpp @@ -2109,7 +2109,7 @@ void CheckClass::initializerListOrder() // iterate through all member functions looking for constructors for (func = scope->functionList.begin(); func != scope->functionList.end(); ++func) { - if ((func->isConstructor()) && func->hasBody()) { + if (func->isConstructor() && func->hasBody()) { // check for initializer list const Token *tok = func->arg->link()->next();