diff options
author | Michael Schubert <schu@schu.io> | 2013-02-10 19:36:39 +0100 |
---|---|---|
committer | Michael Schubert <schu@schu.io> | 2013-02-10 19:36:39 +0100 |
commit | a9d081e504d596d97ae2026b76993fa229efa9e7 (patch) | |
tree | 38c220087a21c05ea5141002dcb31b78f229a285 | |
parent | 70ecec1a7c2458796711e841da2fd1a0a0f24fc7 (diff) | |
download | libgit2-a9d081e504d596d97ae2026b76993fa229efa9e7.tar.gz |
Fix -Wmaybe-uninitialized warning
-rw-r--r-- | src/transports/smart_protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |