Merge pull request #5369 from Turbo87/patch-2

format/igc: Remove duplicate regex exec() call
This commit is contained in:
Frédéric Junod
2016-05-19 14:48:08 +02:00

View File

@@ -172,7 +172,6 @@ ol.format.IGC.prototype.readFeatureFromText = function(text, opt_options) {
m = ol.format.IGC.H_RECORD_RE_.exec(line);
if (m) {
properties[m[1]] = m[2].trim();
m = ol.format.IGC.HFDTE_RECORD_RE_.exec(line);
}
}
}