From: Junio C Hamano Date: Wed, 25 May 2011 16:35:37 GMT Subject: Re: [PATCH] sh-18n: quell "unused variable" warning Message-ID: <7vy61u4u1y.fsf@alter.siamese.dyndns.org> In-Reply-To: <62c2e1619edcb37c0411f29a34b6bc10e3899a97.1306317312.git.git@drmicha.warpmail.net> Michael J Gruber writes: > CC sh-i18n--envsubst.o > sh-i18n--envsubst.c: In Funktion »main«: > sh-i18n--envsubst.c:71:22: Warnung: Variable »show_variables« gesetzt, > aber nicht verwendet [-Wunused-but-set-variable] > > show_variables is indeed unused. Comment it out rather than remove it so > that the relation with upstream remains clear. > > Signed-off-by: Michael J Gruber > --- > Why is it that even with LANG=C exported, gcc gives localized warnings? Because you probably do not have LC_ALL=C? In any case, thanks.