mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
pass NIL though ... safely
This commit is contained in:
parent
303287dc11
commit
d20b8bf0c1
1 changed files with 2 additions and 0 deletions
|
@ -1931,6 +1931,8 @@ function_expr (expr_t *e1, expr_t *e2)
|
|||
i + 1, e1->e.def->name);
|
||||
}
|
||||
} else {
|
||||
if (e->type == ex_nil)
|
||||
convert_nil (e, t = &type_vector); //XXX largest param size
|
||||
if (e->type == ex_integer && options.warnings.vararg_integer)
|
||||
warning (e, "passing integer consant into ... function");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue