lkml.org 
[lkml]   [2000]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Zero initialisers again
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.052 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site