remove unused local variable in BackBufferable:draw, no functional change

This commit is contained in:
Éric Lemoine
2011-10-16 15:50:16 +02:00
parent 469350176f
commit 1d7c74cff9

View File

@@ -62,8 +62,7 @@ OpenLayers.Tile.BackBufferable = OpenLayers.Class(OpenLayers.Tile, {
* {Boolean} Was a tile drawn?
*/
draw: function() {
var draw = OpenLayers.Tile.prototype.shouldDraw.apply(this, arguments),
backBufferMode = this.backBufferMode;
var draw = OpenLayers.Tile.prototype.shouldDraw.apply(this, arguments);
if (draw) {
this.updateBackBuffer();
}