Commit a9d081e504d596d97ae2026b76993fa229efa9e7

Michael Schubert 2013-02-10T19:36:39

Fix -Wmaybe-uninitialized warning

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/transports/smart_protocol.c b/src/transports/smart_protocol.c
index 40db712..aca0617 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;