Roel Janssen schreef op ma 24-05-2021 om 15:01 [+0200]: > Hi Guilers, > > While compiling Guile with "-Wall" I noticed this unused declaration.
I think you ned to modfy gnulib-local/lib/localcharset.c.diff as well. It seems like the original localcharset.c comes from gnulib and it has been patched for Guile. See attached (untested) diff. LGTM otherwise (/me not Guile maintainer) Greetings, Maxime.
diff --git a/gnulib-local/lib/localcharset.c.diff b/gnulib-local/lib/localcharset.c.diff
index 04865a345..ec2816622 100644
--- a/gnulib-local/lib/localcharset.c.diff
+++ b/gnulib-local/lib/localcharset.c.diff
@@ -16,7 +16,7 @@ rationale.
+environ_locale_charset (void)
+{
+ static char buf[2 + 10 + 1];
-+ const char *codeset, *aliases;
++ const char *codeset;
+ const char *locale = NULL;
+
+ locale = getenv ("LC_ALL");
signature.asc
Description: This is a digitally signed message part
