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