From c8cad595755781f505339b7b906d7b8c0fbe96b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Junod?= Date: Wed, 30 Jun 2010 11:58:49 +0000 Subject: [PATCH] remove unnecessary semicolon and unused variable. Non functional change git-svn-id: http://svn.openlayers.org/trunk/openlayers@10436 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/TransformFeature.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/OpenLayers/Control/TransformFeature.js b/lib/OpenLayers/Control/TransformFeature.js index 0fcadb0f3c..b2250e5919 100644 --- a/lib/OpenLayers/Control/TransformFeature.js +++ b/lib/OpenLayers/Control/TransformFeature.js @@ -479,7 +479,6 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, { }, // transform while dragging onDrag: function(feature, pixel) { - var geom = feature.geometry; if(feature === control.box) { control.transformFeature({center: control.center}); control.drawHandles(); @@ -567,7 +566,7 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, { geom._handle = null; geom._rotationHandle && geom._rotationHandle.destroy(); geom._rotationHandle = null; - }; + } this.box.destroy(); this.box = null; this.layer = null;