remote-curl.c: Fix a compiler warning
commit377115493a9f3700f9b71de9ac86464b8bfd3fa2
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Wed, 21 Nov 2012 19:08:51 +0000 (21 19:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Nov 2012 19:54:32 +0000 (21 11:54 -0800)
treec04d5311de7b72b61e4c9d6201c2b0319a0784e8
parent2e736fd5e94c6fa44ba95d81a5b0ae407b968b78
remote-curl.c: Fix a compiler warning

In particular, gcc issues an "'gzip_size' might be used uninitialized"
warning (-Wuninitialized). However, this warning is a false positive,
since the 'gzip_size' variable would not, in fact, be used uninitialized.
In order to suppress the warning, we simply initialise the variable to
zero in it's declaration.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote-curl.c