From 0108562e88afc77cc0d76b4905e658068f25b59a Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 9 Nov 2014 12:07:57 +1100 Subject: [PATCH] remove unused key variable --- lib/6to5/transformation/transformers/react.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/6to5/transformation/transformers/react.js b/lib/6to5/transformation/transformers/react.js index 8b9af5894a..3a7f29cdeb 100644 --- a/lib/6to5/transformation/transformers/react.js +++ b/lib/6to5/transformation/transformers/react.js @@ -27,7 +27,6 @@ var addDisplayName = function (id, call) { var safe = true; _.each(props, function (prop) { - var key = prop.key; if (t.isIdentifier(prop.key, { name: "displayName" })) { return safe = false; }