Re: Zero initialisers again

From: Stuart MacDonald (stuartm@connecttech.com)
Date: Mon Aug 14 2000 - 10:33:53 EST


From: "Russell King" <rmk@arm.linux.org.uk>
> -int sysctl_tcp_stdurg;
> -int sysctl_tcp_rfc1337;
> +int sysctl_tcp_stdurg = 0;
> +int sysctl_tcp_rfc1337 = 0;
>
> We no longer need to explicitly initialise any variable to zero. Why is
> this change required?

Removes compiler warnings?

..Stu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:33 EST