Bruce Evans schrieb:
%  */
% int
% ipfw_init(void)
% {
%     int error = 0;

This variable is not really used.

Initialization in declaration.  This mainly obfuscates the non-use of the
variable.

Rather the opposite is true:

void f(void)
{
  int error = 0; // GCC warns that error is unused
}

void g(void)
{
  int error;
  error = 0; // GCC is silent
}

In this case it does not help, because error is used. But an assignment halfway down the function definitely would not improve the situation.

        Christoph
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to