This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Unused return value.
[perl5.git] / scope.c
diff --git a/scope.c b/scope.c
index 8229c1a..db67656 100644 (file)
--- a/scope.c
+++ b/scope.c
@@ -1034,7 +1034,7 @@ Perl_leave_scope(pTHX_ I32 base)
                                ? CvNAME_HEK((CV *)sv)
                                : GvNAME_HEK(CvGV(sv));
                         assert(hek);
-                        share_hek_hek(hek);
+                        (void)share_hek_hek(hek);
                         cv_undef((CV *)sv);
                         CvNAME_HEK_set(sv, hek);
                         CvLEXICAL_on(sv);