Commit 6618dcc7 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix missing break in the c++ parser

Detected with cppcheck

BUG: 324720
parent 2f979427
......@@ -866,8 +866,10 @@ struct ConstantUnaryExpressionEvaluator {
break;
case Token_incr:
endValue = left->value<Type>()+1;
break;
case Token_decr:
endValue = left->value<Type>()-1;
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment