[interchange] Exit from subroutine using "return" instead of "next"

David Christensen <[email protected]> Thu, 22 Jun 2017 18:23:09 +0000
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit fe76f0f64dc8093c4b56a933796751f0fb10a78c
Author: David Christensen <[email protected]>
Date:   Thu Jun 22 12:21:02 2017 -0500

    Exit from subroutine using "return" instead of "next"

 lib/Vend/Config.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/Vend/Config.pm b/lib/Vend/Config.pm
index fbba72b..662beec 100644
--- a/lib/Vend/Config.pm
+++ b/lib/Vend/Config.pm
@@ -4982,8 +4982,8 @@ sub map_codedef_to_directive {
 	my $ref;
 	my $r;
 
-	next unless $r = $c->{$type};
-	next unless $ref = $r->{Routine};
+	return unless $r = $c->{$type};
+	return unless $ref = $r->{Routine};
 
 	for(keys %$ref ) {
 		$cfg->{$_} = $ref->{$_};