Re: [PATCH] Fix an unitialized pointer in merge-recursive.c
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 16, 2007, 08:30 UTC
- Message-ID
- <7vk5rvkhjy.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <7vodh7khuo.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> Third option. Change the assignment from "mrtree = NULL" to > "mrtree = mtree". It is a standard idiom to work around stupid > gcc warnings.
Oops; it might be obvious but that's "mrtree = mrtree".