Subject: [PATCH 6/6] fast-import: suppress -Wuninitialized warning by initializing to NULL

From: Jonathan Nieder <[email-masked]>
Date: Wed, 16 Mar 2011 06:38:42 -0500

Signed-off-by: Jonathan Nieder <[email-masked]>
---
That's the end. :)

Good night.

 fast-import.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fast-import.c b/fast-import.c
index 565d895..75405af 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -2196,7 +2196,7 @@ static void file_change_m(struct branch *b)
 	const char *p = command_buf.buf + 2;
 	static struct strbuf uq = STRBUF_INIT;
 	const char *endp;
-	struct object_entry *oe;
+	struct object_entry *oe = NULL;
 	unsigned char sha1[20];
 	uint16_t mode, inline_data = 0;
 
-- 
1.7.4.1