aboutsummaryrefslogtreecommitdiff
path: root/src/actualize.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-01-11 16:35:19 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-01-11 16:35:19 +0200
commit67af2eead2b9424ba311ef208cd45df839c3efbe (patch)
tree7eddfb0bf01c5b259f4d96e8630ec141005a965e /src/actualize.c
parent45b3531e29c1b596f1be123de94b7c618c92bf8a (diff)
downloadek-67af2eead2b9424ba311ef208cd45df839c3efbe.tar.gz
ek-67af2eead2b9424ba311ef208cd45df839c3efbe.zip
fix some analyzer warnings
Diffstat (limited to 'src/actualize.c')
-rw-r--r--src/actualize.c6
1 files changed, 3 insertions, 3 deletions
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;