From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ce3KCX1A1mqR7TIAWB0awg (envelope-from ) for ; Mon, 19 Oct 2026 12:08:29 -0400 Received: by simark.ca (Postfix, from userid 112) id 257D41E04E; Mon, 19 Oct 2026 12:08:29 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id ABA5B1E04E for ; Mon, 19 Oct 2026 12:08:28 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C48754BA2E3F for ; Mon, 19 Oct 2026 16:08:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C48754BA2E3F Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 4147B4BA23CC for ; Mon, 19 Oct 2026 16:06:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4147B4BA23CC Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=efficios.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=efficios.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4147B4BA23CC Authentication-Results: sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1792426009; cv=none; b=AIdNL4onvqq2aE3iY9T6jjrff0LoBbdbxV30sksBMMiebszib26+P3OGxzGBosj1Hh978zirDLA5UPRC5VXaaGRgfuaB0bgTF+o+JyCCMgKFo8m7u+fWlbZci2Z8q79cOmpPRpUrlcAfdn/R+r9sOkGQpYtFFIxGxbdns1wZ7P8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1792426009; c=relaxed/simple; bh=Izpm7KCAWn03v5E8Kcu4t3dHa2enWSLKcygcOwie1CQ=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=qzTCdndU/VSqo8dVr3LScIV9V4qff3eh9yk9IzrHIY3/6/YcUqZf5bRVMfYzT3Nm9Y0Yw3ykw5T5P+G5SsOPkegjsaYijARwrsQ3QvUzmV9fEJxI0ccSSQ5hTMOD01JvdlCTo6XY2wGd8pDDzeaI+Qjswq+Wu/gLmk5whCbZP4M= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4147B4BA23CC Received: by simark.ca (Postfix) id E32C11E04F; Mon, 19 Oct 2026 12:06:47 -0400 (EDT) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 2/2] gdb/guile: remove unused escape_symbol variable Date: Mon, 19 Oct 2026 12:06:39 -0400 Message-ID: <20261019160644.629989-2-simon.marchi@efficios.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261019160644.629989-1-simon.marchi@efficios.com> References: <20261019160644.629989-1-simon.marchi@efficios.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Building GDB with a recent clang fails with: /home/smarchi/src/binutils-gdb/gdb/guile/scm-value.c:78:12: error: variable 'escape_symbol' set but not used [-Werror,-Wunused-but-set-global] value->string only accepts 'error and 'substitute for its #:errors argument, so the 'escape symbol is never used. It has been unused since commit ed3ef33944c3 ("Add Guile as an extension language.", 2014-02-09). Remove it. Change-Id: Ie088e3c133c4443a0131d5b9830814724be405fe --- gdb/guile/scm-value.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdb/guile/scm-value.c b/gdb/guile/scm-value.c index 277195688093..0e388bf1f056 100644 --- a/gdb/guile/scm-value.c +++ b/gdb/guile/scm-value.c @@ -75,7 +75,6 @@ static SCM length_keyword; /* Possible #:errors values. */ static SCM error_symbol; -static SCM escape_symbol; static SCM substitute_symbol; /* Administrivia for value smobs. */ @@ -1541,6 +1540,5 @@ gdbscm_initialize_values (void) length_keyword = scm_from_latin1_keyword ("length"); error_symbol = scm_from_latin1_symbol ("error"); - escape_symbol = scm_from_latin1_symbol ("escape"); substitute_symbol = scm_from_latin1_symbol ("substitute"); } -- 2.56.0