From: Jeff King Date: Wed, 21 Nov 2012 19:34:53 GMT Subject: Re: [PATCH] remote-curl.c: Fix a compiler warning Message-ID: <20121121193453.GD16280@sigill.intra.peff.net> In-Reply-To: <50AD26C3.2090407@ramsay1.demon.co.uk> On Wed, Nov 21, 2012 at 07:08:51PM +0000, 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 suppress the warning, we simply initialise the variable to > zero in it's declaration. > > Signed-off-by: Ramsay Jones > --- > > Hi Junio, > > This is on top of next. (commit df126e108: "remote-curl: hoist gzip > buffer size to top of post_rpc", 31-10-2012). Thanks. I meant to apply this during my tenure as maintainer, but it slipped through the cracks. -Peff