diff options
author | Yves Orton <demerphq@gmail.com> | 2016-09-13 23:06:58 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2016-09-13 23:08:54 +0200 |
commit | d5ea0ef8623c7d7ba5f42d239787aa71393e2054 (patch) | |
tree | e56dca4a4945707a81fb2609f5bafad323b5c2b3 /gv.c | |
parent | 65308f87d02a1900e59f0002fa94c855d4d4c5df (diff) | |
download | perl-d5ea0ef8623c7d7ba5f42d239787aa71393e2054.tar.gz |
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.
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; |