News for hackers. Stuff that matters.
Re:My resignation letter is in ANSI C++ by cperciva on Saturday September 04, 2010 @03:03PM (#1663190)
The optimizer is quite able to recognize that a variable is unused. :-)

In fact, if you compile that code with warnings turned on, you'll get a "variable is not used" warning -- which most style guides say should be silenced by adding the following line to the start of your function:

  (void)argc; /* UNUSED */

There are no comments on this comment yet.