diff --git a/lib/checkuninitvar.cpp b/lib/checkuninitvar.cpp index e098f612a..a0731eb07 100644 --- a/lib/checkuninitvar.cpp +++ b/lib/checkuninitvar.cpp @@ -1350,8 +1350,7 @@ bool CheckUninitVar::checkScopeForVariable(const Scope* scope, const Token *tok, uninitStructMemberError(tok, tok->str() + "." + membervar->name()); else return true; - } - else if (tok->strAt(1) == "=") + } else if (tok->strAt(1) == "=") return true; else if (tok->strAt(-1) == "&") return true;