Fix unused variable warning in release mode

The assert() is removed in release mode causing unused variable
warning noise.
This commit is contained in:
Johannes Kauffmann 2023-02-26 22:21:59 +01:00 committed by Kai Blaschke
parent 2d370d3235
commit 94fee67baf

View File

@ -2035,6 +2035,7 @@ struct StatementList {
// @@ Output function as is?
// @@ We have to flatten function arguments! This is tricky, need to handle input/output arguments.
assert(!NeedsFlattening(functionCall->argument));
(void)functionCall;
return AddExpressionStatement(expr, statements, wantIdent);
}