Thread (38 messages) 38 messages, 4 authors, 2019-10-29

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

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help