It is better to comment out the name of the argument in the function header:
void foo( int x, int /* unused */) { … }
It is better to comment out the name of the argument in the function header:
C compilers know not to complain about that second argument (http://stackoverflow.com/questions/1486904/how-do-i-best-sil...)