Commit c1aa85f
Declare test compat.h shims inline to avoid -Wunused-function (#24)
claude-wrapper.c sets but never unsets env after the LD_PRELOAD-overwrite
change, so the plain-`static` unsetenv shim was unused in that translation
unit and failed `-Werror` on Windows. `static inline` exempts header
helpers from -Wunused-function.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 76c483e commit c1aa85f
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | | - | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | | - | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
0 commit comments