From 561e1ca93e4e7a4cb3bc799b3323732c8dd3e4cf Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 1 May 2015 04:47:52 -0600 Subject: [PATCH] Code review: remove dead code --- src/js/async.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/js/async.js b/src/js/async.js index 4730eb813..585e94ddf 100644 --- a/src/js/async.js +++ b/src/js/async.js @@ -172,7 +172,7 @@ return asyncJobManager; // Update visual of extension icon. µBlock.updateBadgeAsync = (function() { - var µb = µBlock, tabIdToUpdate; + var µb = µBlock; // Cache callback definition, it was a bad idea to define this one inside // updateBadgeAsync @@ -189,7 +189,6 @@ return asyncJobManager; if ( vAPI.isBehindTheSceneTabId(tabId) ) { return; } - tabIdToUpdate = tabId; µb.asyncJobs.add('updateBadge-' + tabId, tabId, updateBadge, 250); };