unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Roel Janssen <roel@gnu.org>
To: guile-devel@gnu.org
Subject: [PATCH] Remove unused variable.
Date: Mon, 24 May 2021 15:01:32 +0200	[thread overview]
Message-ID: <ea9353e4f62e8baed4ceaca8889c3af28cec4603.camel@gnu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 111 bytes --]

Hi Guilers,

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

Kind regards,
Roel Janssen

[-- Attachment #2: 0001-Remove-unused-variable.patch --]
[-- Type: text/x-patch, Size: 715 bytes --]

From b67638db33e59e026fdbfb6db5468db4f8aebf01 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@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	other threads:[~2021-05-24 13:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 13:01 Roel Janssen [this message]
2021-05-24 14:19 ` [PATCH] Remove unused variable Maxime Devos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ea9353e4f62e8baed4ceaca8889c3af28cec4603.camel@gnu.org \
    --to=roel@gnu.org \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).