diff upstream_hash.t @ 925:6bb1f2ccd386

Tests: removed unused variables.
author Andrey Zelenkov <zelenkov@nginx.com>
date Fri, 13 May 2016 14:46:07 +0300
parents 6cdfd177319b
children e9064d691790
line wrap: on
line diff
--- a/upstream_hash.t
+++ b/upstream_hash.t
@@ -218,7 +218,7 @@ sub many {
 	my ($uri, $count) = @_;
 	my %ports;
 
-	for my $i (1 .. $count) {
+	for (1 .. $count) {
 		if (http_get($uri) =~ /X-Port: (\d+)/) {
 			$ports{$1} = 0 unless defined $ports{$1};
 			$ports{$1}++;