http-push.c::add_send_request(): do not initialize transfer_request
commit3def06e625099907fb44c519611188904b6937a2
authorStefan Beller <stefanbeller@googlemail.com>
Thu, 18 Jul 2013 21:35:26 +0000 (18 23:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Jul 2013 18:15:17 +0000 (19 11:15 -0700)
tree653f06a89b30e915e6c41e25fbe973a0b37a200f
parent98aa2eabf047d673447b72f4b4ac6cae6aae3a16
http-push.c::add_send_request(): do not initialize transfer_request

That pointer will be assigned to new memory via

    request = xmalloc(sizeof(*request));

20 lines later unconditionally anyway, so it's safe to not assign it
to an arbitrary variable.

Signed-off-by: Stefan Beller <stefanbeller@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c