summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-11-21 13:39:18 -0700
committerKarl Williamson <khw@cpan.org>2014-11-21 14:04:10 -0700
commit0fbfbb97fd8bda2b2f51041f575b8e41691c21f0 (patch)
tree8cbbfb6df88a8453e444bf580403bda899301044 /mg.c
parent8629b8cee52927ee91b962e71d3407c0da9a8f31 (diff)
downloadperl-0fbfbb97fd8bda2b2f51041f575b8e41691c21f0.tar.gz
mg.c: Remove poorly considered assertion
See http://nntp.perl.org/group/perl.perl5.porters/222464 and following. The final resolution of what to do here hasn't been made, but the assertion is definitely not the way to go.
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mg.c b/mg.c
index 50548cdbad..f4ee820b93 100644
--- a/mg.c
+++ b/mg.c
@@ -856,9 +856,6 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
break;
case '\005': /* ^E */
if (nextchar != '\0') {
- /* We shouldn't be trying to retrieve this shadow variable */
- assert(strNE(remaining, "_NCODING"));
-
if (strEQ(remaining, "NCODING"))
sv_setsv(sv, _get_encoding());
break;