On Thu, Aug 13, 2009 at 22:40, Luke-Jr<luke@xxxxxxxxxx> wrote: > On Thursday 13 August 2009 02:36:13 pm Junio C Hamano wrote: >> Now the obligatory design level question is behind us, let's take a brief >> look at the codde. >> >> > +static int ignore_unmatch = 0; >> >> Drop " = 0" and let the language initialize this to zero. > > Does C define a default initialisation of zero? My understanding was that > uninitialised variables are always undefined until explicitly assigned a > value. Yes. For statics. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html