Messages in this thread | | | From | Russell King <> | Subject | Re: Zero initialisers again | Date | Mon, 14 Aug 2000 18:57:15 +0100 (BST) |
| |
Stuart MacDonald writes: > 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?
Since when does:
int sysctl_tcp_stdurg;
issue compiler warnings? _____ |_____| ------------------------------------------------- ---+---+- | | Russell King rmk@arm.linux.org.uk --- --- | | | | http://www.arm.linux.org.uk/personal/aboutme.html / / | | +-+-+ --- -+- / | THE developer of ARM Linux |+| /|\ / | | | --- | +-+-+ ------------------------------------------------- /\\\ |
- 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/
| |