Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] sh-18n: quell "unused variable" warning

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:19

Michael J Gruber [off-list ref] 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 <redacted>
---
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help