Re: [PATCH 4/4] exclude: reuse last basename comparison
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 7, 2012, 18:40 UTC
- Message-ID
- <7vd35bge2u.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1339055617-23028-4-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
Show 9 quoted lines
> 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.