From 8b539cd4cce3b03f7802cebefae07ec66656d26f Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Tue, 21 May 2013 12:49:12 +0200 Subject: [PATCH] Remove unused variables in sphere --- src/ol/sphere/sphere.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ol/sphere/sphere.js b/src/ol/sphere/sphere.js index 0b647d0b9f..825d843263 100644 --- a/src/ol/sphere/sphere.js +++ b/src/ol/sphere/sphere.js @@ -54,7 +54,6 @@ ol.Sphere.prototype.cosineDistance = function(c1, c2) { * @return {number} Cross-track distance. */ ol.Sphere.prototype.crossTrackDistance = function(c1, c2, c3) { - var d12 = this.cosineDistance(c1, c2); var d13 = this.cosineDistance(c1, c2); var theta12 = goog.math.toRadians(this.initialBearing(c1, c2)); var theta13 = goog.math.toRadians(this.initialBearing(c1, c3));