summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4c0c181)
raw | patch | inline | side by side (parent: 4c0c181)
author | Junio C Hamano <gitster@pobox.com> | |
Thu, 21 Oct 2010 14:34:33 +0000 (07:34 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 21 Oct 2010 14:34:33 +0000 (07:34 -0700) |
Some vintage of gcc does not seem to notice last_len is only used when
last_file is already set to non-NULL at which point last_len is also
set.
Noticed on FreeBSD 8
Signed-off-by: Junio C Hamano <gitster@pobox.com>
last_file is already set to non-NULL at which point last_len is also
set.
Noticed on FreeBSD 8
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-recursive.c | patch | blob | history |
diff --git a/merge-recursive.c b/merge-recursive.c
index bae98845ce080f3c06b9e330a3c3fdfa083e2b8f..231e5cbd7f87c95f909709cc649bfb202a4ece87 100644 (file)
--- a/merge-recursive.c
+++ b/merge-recursive.c
* below the corresponding directory.
*/
const char *last_file = NULL;
- int last_len;
+ int last_len = 0;
struct stage_data *last_e;
int i;