From d0f938a6ab692ed24009b2f1c101e6e91a242b7d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 16 Jun 2018 20:40:31 +0100 Subject: git-debrebase: keycommits abolish use of last etc. Previously, presumably, this little fragment was within an anonymous sub. Now it isn't any more, and we can simply return. No functional change. Signed-off-by: Ian Jackson --- git-debrebase | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'git-debrebase') diff --git a/git-debrebase b/git-debrebase index c060012..9a356df 100755 --- a/git-debrebase +++ b/git-debrebase @@ -604,10 +604,7 @@ sub keycommits ($;$$$) { } elsif ($ty eq 'DgitImportUnpatched') { $x->($trouble, 'dgitimport', "found dgit dsc import ($head)"); - $breakwater = undef; - $anchor = undef; - no warnings qw(exiting); - last; + return (undef,undef); } else { fail "found unprocessable commit, cannot cope: $head; $cl->{Why}"; } -- cgit v1.2.3