From 2844cc03dcee2357ee2d1d24643b784bd45fb83d Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 30 Jan 2016 15:01:06 -0800 Subject: [PATCH] repl: remove variable redeclaration `match` and `filter` are declared twice with `var` in `repl.js`. Declare the variables only once. PR-URL: https://github.com/nodejs/node/pull/4977 Reviewed-By: Brian White Reviewed-By: James M Snell --- lib/repl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repl.js b/lib/repl.js index de6f562238314f..70d64578055504 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -655,7 +655,7 @@ REPLServer.prototype.complete = function(line, callback) { // list of completion lists, one for each inheritance "level" var completionGroups = []; - var completeOn, match, filter, i, group, c; + var completeOn, i, group, c; // REPL commands (e.g. ".break"). var match = null;