]> git.openstreetmap.org Git - rails.git/commitdiff
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 f6348b625cef7bfb8a575e6d2020d06f7e5a6d51..f5f0ccb5ebda5843955b473bcde472a397129444 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");
 
     # 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;
 }
     ok(1, "    Got $cnt value pages");
     $count{value} += $cnt;
 }