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:

committed by
Junio C Hamano

parent
c2e86addb8
commit
c0aa335c95
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user