Fix global leak

A bit curious that the linter didn't catch this.  My test runner fails with it.
This commit is contained in:
Tim Schaub
2013-03-18 17:54:36 -06:00
parent 41eedfaa06
commit 6b5e251279

View File

@@ -530,7 +530,7 @@ describe('ol.Sphere', function() {
describe('midpoint', function() {
it('results match Chris Veness\'s reference implementation', function() {
var e, i;
var e, i, midpoint;
for (i = 0; i < expected.length; ++i) {
e = expected[i];
midpoint = sphere.midpoint(e.c1, e.c2);