This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In Hash::Util::FieldHash::_test_uvar_set, the second SvRV(sverf) is not needed.
authorNicholas Clark <nick@ccl4.org>
Mon, 25 Oct 2010 19:06:36 +0000 (20:06 +0100)
committerNicholas Clark <nick@ccl4.org>
Mon, 25 Oct 2010 19:06:36 +0000 (20:06 +0100)
ext/Hash-Util-FieldHash/FieldHash.xs

index ccd7c61..60f5a6e 100644 (file)
@@ -464,7 +464,6 @@ CODE:
     if (SvROK(svref) && SvROK(countref)) {
         counter = SvRV(countref);
         sv_setiv(counter, 0);
-        counter = SvRV(countref);
         HUF_add_uvar_magic(
             SvRV(svref),
             NULL,