From d5ea0ef8623c7d7ba5f42d239787aa71393e2054 Mon Sep 17 00:00:00 2001 From: Yves Orton Date: Tue, 13 Sep 2016 23:06:58 +0200 Subject: clean up gv_fetchmethod_pvn_flags: move origname init to function start so it is more obvious that it is a constant copy of the original name. --- gv.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gv.c') diff --git a/gv.c b/gv.c index b0221e03b8..fe38d44246 100644 --- a/gv.c +++ b/gv.c @@ -1014,7 +1014,6 @@ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const char *name, const STRLEN le const char *nsplit = NULL; GV* gv; HV* ostash = stash; - const char * const origname = name; SV *const error_report = MUTABLE_SV(stash); const U32 autoload = flags & GV_AUTOLOAD; const U32 do_croak = flags & GV_CROAK; -- cgit v1.2.1