From 40099e3d426be06c6ced41085c5592170852c77d Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 8 Jul 2024 22:59:20 +0200 Subject: Param 2 of constfoldexpr() can be NULL --- src/analyzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/analyzer.c b/src/analyzer.c index 1bbb43c..b67bc91 100644 --- a/src/analyzer.c +++ b/src/analyzer.c @@ -90,7 +90,7 @@ static analyzer analyzeblk, analyzedecl, analyzeexpr, analyzefn, analyzestmt, /* Perform constant-folding on the expression at index I in the AST, and assert that the resulting constant can be represented by type T. */ static idx_t constfoldexpr(struct azctx *, type_t *T, idx_t i) - __attribute__((nonnull)); + __attribute__((nonnull(1))); /* Assert if the types T1 and T2 are compatible with each other */ static bool typecompat(type_t *t1, type_t *t2) -- cgit v1.2.3