Commit 0c622af
committed
Temporarily disable unused-but-set-variable until it's fixed in Clang
`_dispatch_preemption_yield(++spins)` expands to `(void)++spins;` on
various platforms. A recent Clang change updated the
`unused-but-set-variable` warning to skip counting operators as a use,
but it ignores `(void)`. Disable the error until that's fixed.1 parent da9271b commit 0c622af
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
0 commit comments