From 67af2eead2b9424ba311ef208cd45df839c3efbe Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 11 Jan 2025 16:35:19 +0200 Subject: fix some analyzer warnings --- src/actualize.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/actualize.c') diff --git a/src/actualize.c b/src/actualize.c index e17305c..2cb2f7a 100644 --- a/src/actualize.c +++ b/src/actualize.c @@ -344,8 +344,8 @@ static int analyze_visibility(struct scope *scope, struct ast *node) case AST_IMPORT: { const char *file = import_file(node); int ret = process_file(&scope, - (int)ast_flags(node, AST_FLAG_PUBLIC), - file); + (int)ast_flags(node, AST_FLAG_PUBLIC), + file); if (ret == 0) return 0; @@ -832,7 +832,7 @@ static int expand_chain(struct ast *expd, struct ast *params, } static struct ast *chain_graft(struct ast *exists, struct ast *def, - struct ast *params, struct type *types) + struct ast *params, struct type *types) { if (same_src(exists, def)) return exists; -- cgit v1.3