[PATCH] remote-curl.c: Fix a compiler warning

2012-11-21 Thread Ramsay Jones
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

Re: [PATCH] remote-curl.c: Fix a compiler warning

2012-11-21 Thread Jeff King
On Wed, Nov 21, 2012 at 07:08:51PM +, Ramsay Jones wrote: 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