mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-22 08:34:35 +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);
|
||||
case UnaryOp::COMPLEMENT:
|
||||
return ~a->evaluateInt(ctx);
|
||||
default:
|
||||
throw TypeError();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user