diff options
author | Rich Trott <rtrott@gmail.com> | 2016-01-30 15:01:06 -0800 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-02-01 08:41:46 -0800 |
commit | ba81d152ec14c2cb190279be8d3a519e220e7872 (patch) | |
tree | 2f4e044f959ba51e486f9bf83dacd6a6d67ff763 /lib | |
parent | 260512677b65354b12505af9200b106d253e0ced (diff) | |
download | android-node-v8-ba81d152ec14c2cb190279be8d3a519e220e7872.tar.gz android-node-v8-ba81d152ec14c2cb190279be8d3a519e220e7872.tar.bz2 android-node-v8-ba81d152ec14c2cb190279be8d3a519e220e7872.zip |
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 <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/repl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/repl.js b/lib/repl.js index f80555dba4..5ba1bfc115 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; |