From 74417699db777ba20cf68825ca92c41ba3553ba2 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Fri, 6 Mar 2015 18:55:47 +0100 Subject: [PATCH] Remove redundant break --- lib/checkother.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index c82a96023..aa14c5a51 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -565,8 +565,6 @@ static void eraseNotLocalArg(std::map& container, co const Variable* var = symbolDatabase->getVariableFromVarId(i->first); if (!var || nonLocal(var)) { container.erase(i++); - if (i == container.end()) - break; } else ++i; }