From 4bff32c56f5c1d1515069d4ce0d05531758f6561 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sat, 6 Sep 2014 22:42:19 -0700 Subject: Remove GV_ADDINEVAL This flag does absolutely nothing. The use of 8 as a flag to pass to gv_fetchpv was added in this commit: commit 93233ece75d8fe98a77377e72c4d6004c5ea8691 Author: Chip Salzenberg Date: Tue Mar 3 04:39:49 1998 +0000 [win32] merge problematic maintpatch to op.c #77: "Eliminate double warnings under C" Files: gv.c op.c toke.c But nothing in gv.c made use of it at the time. Later it was changed into a #define in commit 0f303493c6. Subse- quently more uses were added in 77ca0c92 and f558d5af04. It still does nothing. Nothing outside the perl core references it. --- gv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gv.h') diff --git a/gv.h b/gv.h index 5071591742..6e3295c87f 100644 --- a/gv.h +++ b/gv.h @@ -221,7 +221,7 @@ Return the CV from the GV. #define GV_ADDMULTI 0x02 /* add, pretending it has been added already; used also by gv_init_* */ #define GV_ADDWARN 0x04 /* add, but warn if symbol wasn't already there */ -#define GV_ADDINEVAL 0x08 /* add, as though we're doing so within an eval */ + /* 0x08 UNUSED */ #define GV_NOINIT 0x10 /* add, but don't init symbol, if type != PVGV */ /* This is used by toke.c to avoid turing placeholder constants in the symbol table into full PVGVs with attached constant subroutines. */ -- cgit v1.2.1