Don't re-declare lexical variable
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 21 Apr 2010 00:07:54 +0000 (00:07 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 21 Apr 2010 00:07:54 +0000 (00:07 +0000)
script/misc/update-wiki-pages

index f6348b6..f5f0ccb 100644 (file)
@@ -60,7 +60,7 @@ for my $lang ('', map { "${_}:" } qw[ Pt Fi De It HU Cz Fr RU Pl ]) {
 
     # Value pages
     ok(1, "    Getting value pages");
-    my $cnt = stick_content_in_hash("tag", "Template:${lang}ValueDescription", \%feature);
+    $cnt = stick_content_in_hash("tag", "Template:${lang}ValueDescription", \%feature);
     ok(1, "    Got $cnt value pages");
     $count{value} += $cnt;
 }