From 24d6c3f48842f4636cfabf062eba8113cf799e17 Mon Sep 17 00:00:00 2001 From: Ryunosuke SATO Date: Sun, 18 Jan 2015 20:16:32 +0900 Subject: [PATCH] Remove unused local variable `hasOptional` is assigned but unused from anywhere. --- bin/6to5/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/bin/6to5/index.js b/bin/6to5/index.js index 955671555d..6b1019ba4e 100755 --- a/bin/6to5/index.js +++ b/bin/6to5/index.js @@ -34,13 +34,10 @@ commander.on("--help", function(){ console.log(" " + title + ":"); console.log(); - var hasOptional = true; - _.each(_.keys(obj).sort(), function (key) { if (key[0] === "_") return; if (obj[key].optional) { - hasOptional = true; key = "[" + key + "]"; }