silence a warning

This commit is contained in:
Wolfgang Thaller 2014-10-29 00:45:10 +01:00
parent 774dce1a85
commit 30db43bf10
1 changed files with 3 additions and 0 deletions

View File

@ -110,6 +110,9 @@ int UnaryExpr::evaluateInt(ResourceCompiler *ctx)
return -a->evaluateInt(ctx);
case UnaryOp::COMPLEMENT:
return ~a->evaluateInt(ctx);
default:
throw TypeError();
break;
}
}