diff --git a/lib/OpenLayers/Feature.js b/lib/OpenLayers/Feature.js index 4131fcdf98..f0d28679f9 100644 --- a/lib/OpenLayers/Feature.js +++ b/lib/OpenLayers/Feature.js @@ -139,8 +139,6 @@ OpenLayers.Feature.prototype= { */ createMarker: function() { - var marker = null; - if (this.lonlat != null) { this.marker = new OpenLayers.Marker(this.lonlat, this.data.icon); }