Skip to content

Commit

Permalink
- removed bogus assert from FxMinMax.
Browse files Browse the repository at this point in the history
This would also trigger on signed/unsigned mismatches which it is not supposed to do.
  • Loading branch information
coelckers committed May 17, 2021
1 parent 0b5b919 commit 5bf2a26
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/common/scripting/backend/codegen.cpp
Expand Up @@ -5261,7 +5261,6 @@ FxExpression *FxMinMax::Resolve(FCompileContext &ctx)
else
{
ExpVal value = static_cast<FxConstant *>(choices[j])->GetValue();
assert(value.Type == ValueType);
if (Type == NAME_Min)
{
if (value.Type->GetRegType() == REGT_FLOAT)
Expand Down

0 comments on commit 5bf2a26

Please sign in to comment.