Skip to content

Commit

Permalink
Exit from subroutine using "return" instead of "next"
Browse files Browse the repository at this point in the history
  • Loading branch information
David Christensen committed Jun 22, 2017
1 parent c327ac8 commit fe76f0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Vend/Config.pm
Expand Up @@ -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->{$_};
Expand Down

0 comments on commit fe76f0f

Please sign in to comment.