From e90c9ada43f72f692aeb9c1ad512dbd5c3513a18 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 29 Oct 2023 02:49:49 +0200 Subject: [PATCH] perl: silence warning about skipping dropped features "Exiting subroutine via next" since commit v1.13-84-g7d20f0f116 (2023-05-30) [perl: move feature attributes formatting]. --- perl.plp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl.plp b/perl.plp index 1699d9b..0d9a415 100644 --- a/perl.plp +++ b/perl.plp @@ -111,7 +111,7 @@ sub featattrs ($attr) { $title = 'experimental'; } if (defined $attr->{dropped}) { - next unless exists $get{v}; + return '' unless exists $get{v}; $title = sprintf 'removed in %vd', $_ for $attr->{dropped} || (); } elsif ($attr->{stable}) { -- 2.30.0