This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make descriptions more self-documenting
[perl5.git] / pp_sort.c
index 8be778e..b4a9dd9 100644 (file)
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -1094,9 +1094,6 @@ PP(pp_sort)
                     base[i] = newSVsv(sv);
                 else
                     SvREFCNT_inc_simple_void_NN(sv);
-
-                if (SvWEAKREF(sv))
-                    sv_rvunweaken(sv);
             }
             av_clear(av);
             if (max > 0) {