Explicitly ignore unused variables (fixes #6158)

A macro in py/bc.h declares five variables that are used to hold data
temporarily, without their values being used after the assignments. This
causes "unused-but-set-variable" warnings in clang 13. We mark these
variables as explicitly ignored to avoid this new warning.
This commit is contained in:
Nicolas Favre-Felix 2022-03-15 22:14:43 -07:00
parent af9f80daeb
commit 6573981350
No known key found for this signature in database
GPG Key ID: C04E7AA8B6F73372
1 changed files with 5 additions and 0 deletions

View File

@ -124,6 +124,11 @@
D |= (z & 0x1) << n; \
} \
S += 1; \
(void)E; \
(void)F; \
(void)A; \
(void)K; \
(void)D; \
} while (0)
#define MP_BC_PRELUDE_SIG_DECODE(ip) \