From a9d081e504d596d97ae2026b76993fa229efa9e7 Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Sun, 10 Feb 2013 19:36:39 +0100 Subject: [PATCH] Fix -Wmaybe-uninitialized warning --- src/transports/smart_protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transports/smart_protocol.c b/src/transports/smart_protocol.c index 40db712c1..aca06175c 100644 --- a/src/transports/smart_protocol.c +++ b/src/transports/smart_protocol.c @@ -653,7 +653,7 @@ static int update_refs_from_report( { git_pkt_ref *ref; push_spec *push_spec; - push_status *push_status; + push_status *push_status = NULL; size_t i, j, refs_len; int cmp;