diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 34962ea92..d3bbc7221 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -3651,7 +3651,7 @@ private: { while (tok) { - if (tok->str() == "{") + if (tok->str() == "{" || tok->str() == "}") return; const Token *next = parse(*tok, checks); if (next)