From: Junio C Hamano Date: Thu, 02 Jul 2009 18:29:07 GMT Subject: Re: [PATCH 1/2] git apply: option to ignore whitespace differences Message-ID: <7vocs36irw.fsf@alter.siamese.dyndns.org> In-Reply-To: Giuseppe Bilotta writes: > On Thu, Jul 2, 2009 at 6:46 PM, Junio C Hamano wrote: >>> diff --git a/builtin-apply.c b/builtin-apply.c >>> index dc0ff5e..86860d6 100644 >>> --- a/builtin-apply.c >>> +++ b/builtin-apply.c >>> @@ -39,6 +39,7 @@ static int diffstat; >>>  static int numstat; >>>  static int summary; >>>  static int check; >>> +static int ignore_whitespace = 0; >> >> s/ = 0//; > > Ah, I wondered about that. I assume this leaves no possibility for > uninitialized values because of the way option parsing is done? It is not "uninitialized" to begin with. C initializes static variables without explicit initial values to 0.