harec

[hare] Hare compiler, written in C11 for POSIX OSs
Log | Files | Refs | README | LICENSE

commit f828aa7072e345e6c64c4b8e6282f758fb99986f
parent 7b26cdb43b084999cd02caa9ba082eb3ee3977d6
Author: Armin Weigl <tb46305@gmail.com>
Date:   Sat,  3 Dec 2022 09:51:57 +0100

scan_decl: remove useless resolve_function call

Signed-off-by: Armin Weigl <tb46305@gmail.com>

Diffstat:
Msrc/check.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/check.c b/src/check.c @@ -3962,7 +3962,6 @@ scan_decl(struct context *ctx, struct scope *imports, struct ast_decl *decl) break; case AST_DECL_FUNC: if (decl->function.flags) { - resolve_function(ctx, &decl->function); return; } struct ast_function_decl *func = &decl->function;