Fix warnings

This commit is contained in:
WarmUpTill
2023-01-26 20:51:38 +01:00
committed by WarmUpTill
parent 4a3d019f06
commit 40d8819e77
6 changed files with 16 additions and 11 deletions

View File

@@ -96,6 +96,10 @@ bool MacroConditionVariable::CompareVariables()
return validNumbers && val1 < val2;
case MacroConditionVariable::Type::GREATER_THAN_VARIABLE:
return validNumbers && val1 > val2;
default:
blog(LOG_WARNING,
"Unexpected call of %s with condition type %d", __func__,
static_cast<int>(_type));
}
return false;