Permalink
Browse files

Remove duplicate checks.

  • Loading branch information...
1 parent 53f24e4 commit 9e96743595392aa9d4f94cbf1df8fe4c9945579b @hiratara committed Sep 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Algorithm/Simpath.pm
View
@@ -53,7 +53,7 @@ sub has_one_route($$$) {
$has_route = 1;
next;
}
- defined $node->{mate}{$_} and return; # Mustn't contain unwanted routes
+ return; # Mustn't contain unwanted routes
}
return $has_route;
}

0 comments on commit 9e96743

Please sign in to comment.