Re: [PATCH 02/33] fix unused parameter warnings in do_version() and show_usage()
From: Maciej Żenczykowski <hidden>
Date: 2019-10-21 07:17:56
From: Maciej Żenczykowski <hidden>
Date: 2019-10-21 07:17:56
Considering how frequent this pattern (a callback where not all instances use all parameters) is, maybe we could consider disabling the warning with -Wno-unused-parameter instead of marking all places where it is issued.
Once you fix it... it stays fixed. There's no cost to carrying around the extra annotation. And the warning still finds other places where you're doing it wrong.