Remove unused variables

Noticed by gcc 4.6.0.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Johannes Schindelin
2011-03-22 13:50:08 +01:00
committed by Junio C Hamano
parent c2e86addb8
commit c0aa335c95
7 changed files with 5 additions and 19 deletions

View File

@ -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;