From 813a59a36e031be0e7f31ff56d97f618f2dcc666 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Fri, 18 Sep 2015 17:16:30 +0200 Subject: [PATCH] Removes function from control flow --- lib/cartodb/controllers/layergroup.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/cartodb/controllers/layergroup.js b/lib/cartodb/controllers/layergroup.js index a4421950..fa2348fa 100644 --- a/lib/cartodb/controllers/layergroup.js +++ b/lib/cartodb/controllers/layergroup.js @@ -116,12 +116,6 @@ LayergroupController.prototype.tileOrLayer = function (req, res) { function mapController$finalize(err, tile, headers, stats) { req.profiler.add(stats); self.finalizeGetTileOrGrid(err, req, res, tile, headers); - return null; - }, - function finish(err) { - if ( err ) { - console.error("windshaft.tiles: " + err); - } } ); };