I don't acknowledge the benefits of casting things to (void). Therefore: definitely an eyesore.
And, no. Nobody makes fun of assert. Which rather makes my point for me.
And, no. Nobody makes fun of assert. Which rather makes my point for me.
I'm not as dogmatic as some others are in the thread. I just think it's a good idea to be warned when a variable is unused, enough that I'll mark my very few that might be #ifdef'ed out. If you're using a compiler that doesn't let you mark variables as such... well that sucks. You do what you can.