Why cast an unused function parameter value to void?

It is there to avoid warnings from the compiler because some parameters are unused.

Leave a Comment