fs: refactor redeclared variables
authorRich Trott <rtrott@gmail.com>
Fri, 29 Jan 2016 22:03:13 +0000 (14:03 -0800)
committerMyles Borins <mborins@us.ibm.com>
Wed, 2 Mar 2016 22:01:11 +0000 (14:01 -0800)
commit1f8144200f52ffd7c9f8d203cc607b215036f62e
tree49deb6d85ec4ef30c0b54b4ca3add921ab5ba077
parent4ed33b425cb09e7024c7c0671568aef025800c57
fs: refactor redeclared variables

Two variables are declared twice with `var` in the same scope in
`lib/fs.js`. This change refactors the code so the variable is declared
just once.

PR-URL: https://github.com/nodejs/node/pull/4959
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
lib/fs.js