Commit 3ee2336
fix(appsec): pass __VA_ARGS__ through CONFIG to SYSCFG to avoid empty variadic
clang 19 with -Werror,-Wc23-extensions rejects calling a variadic macro
with no argument for '...'. CONFIG's body called SYSCFG(type, name) with
only 2 args. Pass CONFIG's own __VA_ARGS__ through instead — CONFIG is
always called with at least a default value, so the variadic arg is never
empty. SYSCFG ignores the extra args in this context anyway.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 27fc984 commit 3ee2336
File tree
3 files changed
+3
-3
lines changed- appsec
- cmake
- src/extension
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments