format/igc: Remove duplicate regex exec() call

HFDTE_RECORD_RE_.exec(line) has already been called above
This commit is contained in:
Tobias Bieniek
2016-05-19 14:35:15 +02:00
parent be2fc808be
commit d52586d586

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);
}
}
}