From ba81d152ec14c2cb190279be8d3a519e220e7872 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 f80555dba41afc..5ba1bfc115eb6d 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;