https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #24 from Jason Merrill <jason at gcc dot gnu.org> --- I agree that (void) should suppress the warning. Jakub, do you remember why you made a different choice?