There is no sense to unused variables in static functions, unless the signature is constrained by use of the function as a call-back in some way.