diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-07-08 22:59:20 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-07-08 22:59:20 +0200 |
commit | 40099e3d426be06c6ced41085c5592170852c77d (patch) | |
tree | 70f46f148f2ac74ff8290075062a40344289071b /src | |
parent | a6669c94e68149414c6dbe2bd0d7427f02cdb043 (diff) |
Param 2 of constfoldexpr() can be NULL
Diffstat (limited to 'src')
-rw-r--r-- | src/analyzer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |