diff --git a/lib/templatesimplifier.cpp b/lib/templatesimplifier.cpp index 66672eeb7..8833e2b6e 100644 --- a/lib/templatesimplifier.cpp +++ b/lib/templatesimplifier.cpp @@ -935,23 +935,18 @@ bool TemplateSimplifier::simplifyNumericCalculations(Token *tok) switch (op->str()[0]) { case '<': tok->str((v1 << v2).str()); - ret = true; break; case '>': tok->str((v1 >> v2).str()); - ret = true; break; case '&': tok->str((v1 & v2).str()); - ret = true; break; case '|': tok->str((v1 | v2).str()); - ret = true; break; case '^': tok->str((v1 ^ v2).str()); - ret = true; break; }; }