From: Mischa POSLAWSKY Date: Sun, 29 Oct 2023 00:49:49 +0000 (+0200) Subject: perl: silence warning about skipping dropped features X-Git-Tag: v1.15~28 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/e90c9ada43f72f692aeb9c1ad512dbd5c3513a18 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]. --- 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}) {