Hi Guilers,

While compiling Guile with "-Wall" I noticed this unused declaration.

Kind regards,
Roel Janssen
From b67638db33e59e026fdbfb6db5468db4f8aebf01 Mon Sep 17 00:00:00 2001
From: Roel Janssen <r...@gnu.org>
Date: Mon, 24 May 2021 14:56:20 +0200
Subject: [PATCH] Remove unused variable.

* lib/localcharset.c (environ_locale_charset): Remove declaration of 'aliases'.
---
 lib/localcharset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/localcharset.c b/lib/localcharset.c
index 87a5979a3..5d4ce9e05 100644
--- a/lib/localcharset.c
+++ b/lib/localcharset.c
@@ -1164,7 +1164,7 @@ const char *
 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");
-- 
2.31.1

Reply via email to