Re: [PATCH] sh-18n: quell "unused variable" warning
Michael J Gruber <git@drmicha.warpmail.net> writes:
Show 11 quoted lines
> 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 <git@drmicha.warpmail.net>
> ---
> 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.