https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78964

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
And the Linux kernel would not see these warnings anyway:

Makefile:
 707 # These warnings generated too much noise in a regular build.
 708 # Use make W=1 to enable them (see scripts/Makefile.build)
 709 KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
 710 KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)

Reply via email to