From: Nguyen Thai Ngoc Duy Date: Fri, 08 Jun 2012 02:37:19 GMT Subject: Re: [PATCH 4/4] exclude: reuse last basename comparison Message-ID: In-Reply-To: <7vd35bge2u.fsf@alter.siamese.dyndns.org> On Fri, Jun 8, 2012 at 1:40 AM, Junio C Hamano wrote: > Nguyễn Thái Ngọc Duy writes: > >> diff --git a/dir.c b/dir.c >> index 94fe9f8..2964076 100644 >> --- a/dir.c >> +++ b/dir.c >> @@ -511,6 +511,7 @@ int excluded_from_list(const char *pathname, >>                      struct exclude_list *el) >>  { >>       int i; >> +     int last_basecmp = el->nr, basecmp_result; > > Gcc complains that basecmp_result may be used without initialized in > this function. I'm pretty sure it's fault positive. -- Duy