mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-23 00:34:22 +00:00
silence a warning
This commit is contained in:
parent
774dce1a85
commit
30db43bf10
@ -110,6 +110,9 @@ int UnaryExpr::evaluateInt(ResourceCompiler *ctx)
|
|||||||
return -a->evaluateInt(ctx);
|
return -a->evaluateInt(ctx);
|
||||||
case UnaryOp::COMPLEMENT:
|
case UnaryOp::COMPLEMENT:
|
||||||
return ~a->evaluateInt(ctx);
|
return ~a->evaluateInt(ctx);
|
||||||
|
default:
|
||||||
|
throw TypeError();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user