From: Jonathan Nieder Date: Wed, 16 Mar 2011 11:38:42 GMT Subject: [PATCH 6/6] fast-import: suppress -Wuninitialized warning by initializing to NULL Message-ID: <20110316113842.GH15739@elie> In-Reply-To: <20110316113540.GB15739@elie> Signed-off-by: Jonathan Nieder --- 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