2 ms·
Unused parameter warnings are pretty useful to remind you when a parameter is no longer needed after you change things or to catch some mispellings / missing co
by account42 4y ago
Unused parameter warnings are pretty useful to remind you when a parameter is no longer needed after you change things or to catch some mispellings / missing code. You can always cast to (void) to "use" an otherwise uneeded parameter or remove the parameter name (or comment it out to keep tools checking declaration and definition name matches happy) keeping only the type.