Always provide a default case for switch

This commit is contained in:
Tim Schaub
2016-01-04 20:54:20 -07:00
parent 932bf4deb3
commit fd0e2436da
4 changed files with 11 additions and 0 deletions

View File

@@ -656,6 +656,8 @@ ol.interaction.Modify.handleDragEvent_ = function(evt) {
coordinates[depth[1]][depth[0]][segmentData.index + index] = vertex;
segment[index] = vertex;
break;
default:
// pass
}
this.setGeometryCoordinates_(geometry, coordinates);
@@ -952,6 +954,8 @@ ol.interaction.Modify.prototype.removeVertex_ = function() {
}
}
break;
default:
// pass
}
if (deleted) {