From 06f53df5b0108ea5ee08faa93bb51ff77c7be7e6 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Sun, 6 Apr 2008 20:27:34 +0000 Subject: A macro used only once isn't a typing saving, and 3 macro definitions never used are more obfuscation than clarification, so inline the only use of SAVECOPLABEL_FREE(), and remove the unthreaded variant and both SAVECOPLABEL()s. Exterminate! Exterminate! Exterminate! p4raw-id: //depot/perl@33654 --- cop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cop.h') diff --git a/cop.h b/cop.h index 272dbcc5cc..90f96a1bd2 100644 --- a/cop.h +++ b/cop.h @@ -196,7 +196,7 @@ struct cop { # ifdef NETWARE # define CopSTASH_free(c) SAVECOPSTASH_FREE(c) # define CopFILE_free(c) SAVECOPFILE_FREE(c) -# define CopLABEL_free(c) SAVECOPLABEL_FREE(c) +# define CopLABEL_free(c) SAVESHAREDPV(CopLABEL(c)) # define CopLABEL_alloc(pv) ((pv)?savepv(pv):NULL) # else # define CopSTASH_free(c) PerlMemShared_free(CopSTASHPV(c)) -- cgit v1.2.1