]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.c
remove a redundant ir_function member
[xonotic/gmqcc.git] / ast.c
diff --git a/ast.c b/ast.c
index 3fc7353206e80c690c9d4021aab20d4270b7e9a2..9e59ca917d73c9ed561b10f33bcf8087f01b3c28 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -1247,7 +1247,6 @@ bool ast_function_codegen(ast_function *self, ir_builder *ir)
 
     /* fill the parameter list */
     ec = &self->vtype->expression;
-    irf->max_parameters = vec_size(ec->params);
     for (i = 0; i < vec_size(ec->params); ++i)
     {
         vec_push(irf->params, ec->params[i]->expression.vtype);