X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport.c;h=42b2c59a7bdf68464ea508a75dc02fe75517bcce;hb=e33cc592deae8132936eea119554799e1039bc0f;hp=7362ec09b2cbc6752489286a8280c16d3519f163;hpb=82f05d5dd7ec54c4cd30f016c4380b21245e0d63;p=git.git diff --git a/transport.c b/transport.c index 7362ec09b..42b2c59a7 100644 --- a/transport.c +++ b/transport.c @@ -143,7 +143,7 @@ static const char *rsync_url(const char *url) static struct ref *get_refs_via_rsync(struct transport *transport, int for_push) { struct strbuf buf = STRBUF_INIT, temp_dir = STRBUF_INIT; - struct ref dummy, *tail = &dummy; + struct ref dummy = {0}, *tail = &dummy; struct child_process rsync; const char *args[5]; int temp_dir_len;