mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-17 09:02:25 +00:00
Simplify
This commit is contained in:
parent
11f79bb1a6
commit
c68a5c29e1
1 changed files with 1 additions and 4 deletions
5
intrin.c
5
intrin.c
|
@ -73,10 +73,7 @@ static GMQCC_INLINE void intrin_reg(intrin_t *intrin, ast_value *const value, as
|
|||
static ast_expression *intrin_func_self(intrin_t *intrin, const char *name, const char *from);
|
||||
static ast_expression *intrin_nullfunc(intrin_t *intrin) {
|
||||
ast_value *value = NULL;
|
||||
ast_function *func = intrin_value(intrin, &value, "nil", TYPE_VOID);
|
||||
|
||||
vec_push(func->blocks, ast_block_new(intrin_ctx(intrin)));
|
||||
|
||||
ast_function *func = intrin_value(intrin, &value, NULL, TYPE_VOID);
|
||||
intrin_reg(intrin, value, func);
|
||||
return (ast_expression*)value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue