Skip to content

Commit

Permalink
[RECONSTRUCTION] [CLANG] Fixes warnings reported by clang 14
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jan 13, 2023
1 parent 04ede63 commit d58d49b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CommonTools/Utils/test/testExpressionParser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,9 @@ void testExpressionParser::checkAll() {
std::cout << "Check for leaks in the " << (b ? "Lazy" : "standard") << " string parser" << std::endl;
expr.reset();
reco::parser::expressionParser<pat::Muon>("triggerObjectMatchesByPath('HLT_Something').size()", expr, b);
double res = 0;
for (size_t i = 0; i < 10 * 1000; ++i) {
for (size_t j = 0; j < 100; ++j) {
res += expr->value(o);
expr->value(o);
break;
}
break;
Expand Down

0 comments on commit d58d49b

Please sign in to comment.