fix warning

This commit is contained in:
2026-07-12 19:16:29 +10:00
parent f4afdab46c
commit 036ec60427

View File

@@ -269,6 +269,7 @@ CometASTNode* foldPrefixExpr(CometCompiler* c, CometASTNode* node) {
CometASTNode* constantFold(CometCompiler* c, ConstantEnv* env, CometASTNode* ast, CometASTNode* parentBlock) { CometASTNode* constantFold(CometCompiler* c, ConstantEnv* env, CometASTNode* ast, CometASTNode* parentBlock) {
(void)env; // do this to tell gcc we're using the arg; (void)env; // do this to tell gcc we're using the arg;
(void)parentBlock;
if (!ast) return NULL; if (!ast) return NULL;