X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport-helper.c;h=660147f9e96be7b69379a9040c4220c141c7be4c;hb=1c2ef66f63e60539044d1e0cd8fbfbccd2cefc2e;hp=5846b55875f6e568711b2f90726bb6608aaf4e73;hpb=54f6a8dbd65cbe6ad31a8b6b531de81009514eb3;p=git.git diff --git a/transport-helper.c b/transport-helper.c index 5846b5587..660147f9e 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -561,10 +561,9 @@ static int push_refs_with_push(struct transport *transport, int mirror = flags & TRANSPORT_PUSH_MIRROR; struct helper_data *data = transport->data; struct strbuf buf = STRBUF_INIT; - struct child_process *helper; struct ref *ref; - helper = get_helper(transport); + get_helper(transport); if (!data->push) return 1;