Subject: scratch/igc: Delete unused macro DEFVAR_LISP_NOPROX
From: Stefan Kangas <[email-masked]>
To: [email-masked]
Date: Sun, 12 Jan 2025 17:55:40 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Severity: wishlist

Can we delete the unused macro DEFVAR_LISP_NOPROX?

We can always resurrect it again if it turns out that we need it.
From 71f5ac23574659664a3dd62ae1412d015edbcd53 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <[email-masked]>
Date: Sun, 12 Jan 2025 18:53:41 +0100
Subject: [PATCH] Delete unused macro DEFVAR_LISP_NOPROX

* src/lisp.h (DEFVAR_LISP_NOPROX): Delete unused macro.
---
 src/lisp.h | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/lisp.h b/src/lisp.h
index 101cbc6417f..cc457f84f28 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -3821,12 +3821,6 @@ #define DEFVAR_LISP_NOPRO(lname, vname, doc)		\
       = {Lisp_Fwd_Obj, .u.objvar = &globals.f_##vname};	\
     defvar_lisp (&o_fwd, lname);			\
   } while (false)
-#define DEFVAR_LISP_NOPROX(lname, vname, doc)		\
-  do {							\
-    static struct Lisp_Fwd const o_fwd			\
-      = {Lisp_Fwd_Obj, .u.objvar = &globals.f_##vname};	\
-    defvar_lisp_nopro (&o_fwd, lname);			\
-  } while (false)
 #else
 #define DEFVAR_LISP_NOPRO(lname, vname, doc)		\
   do {							\
@@ -3834,12 +3828,6 @@ #define DEFVAR_LISP_NOPRO(lname, vname, doc)		\
       = {Lisp_Fwd_Obj, .u.objvar = &globals.f_##vname};	\
     defvar_lisp_nopro (&o_fwd, lname);			\
   } while (false)
-#define DEFVAR_LISP_NOPROX(lname, vname, doc)		\
-  do {							\
-    static struct Lisp_Fwd const o_fwd			\
-      = {Lisp_Fwd_Obj, .u.objvar = &globals.f_##vname};	\
-    defvar_lisp_nopro (&o_fwd, lname);			\
-  } while (false)
 #endif
 #define DEFVAR_BOOL(lname, vname, doc)				\
   do {								\
-- 
2.48.0