diff --git a/lib/fs.js b/lib/fs.js index ef56a02ac3..0bef4227be 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -468,6 +468,7 @@ fs.watchFile = function (filename) { }; fs.unwatchFile = function (filename) { + var stat; if (statWatchers[filename]) { stat = statWatchers[filename]; stat.stop();