Skip to content

Commit

Permalink
Item11187: Initialized variable fix.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/OpenLayersPlugin@13067 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
PaulAlexander authored and PaulAlexander committed Nov 14, 2011
1 parent e191418 commit c96ad33
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Foswiki/Plugins/OpenLayersPlugin.pm
Expand Up @@ -188,8 +188,8 @@ sub typehandler_kml {
my @fields = $layerObject->find('FIELD');
my %data;
my @returnString;
my $strategy;
my $style;
my $strategy='';
my $style='';

foreach my $field (@fields) {
$data{$field->{name}} = $field->{value};
Expand Down Expand Up @@ -226,7 +226,6 @@ sub typehandler_kml {
$strategy = ", new OpenLayers.Strategy.Cluster()";
} else {
$clustering = 'false';
$strategy = '';
}

if ($clustering eq 'true') {
Expand Down

0 comments on commit c96ad33

Please sign in to comment.