mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Remove some unused variables.
This commit is contained in:
parent
55679694c9
commit
e96fff573d
@ -20,7 +20,6 @@ var clone = require("clone");
|
||||
var when = require("when");
|
||||
|
||||
var flows = require("./flows");
|
||||
var credentials = require('./credentials')
|
||||
var comms = require("../comms");
|
||||
|
||||
function Node(n) {
|
||||
|
@ -60,10 +60,8 @@ function getFileMeta(root,path) {
|
||||
var fd = fs.openSync(fn,"r");
|
||||
var size = fs.fstatSync(fd).size;
|
||||
var meta = {};
|
||||
var scanning = true;
|
||||
var read = 0;
|
||||
var length = 10;
|
||||
var offset = 0;
|
||||
var remaining = "";
|
||||
var buffer = Buffer(length);
|
||||
while(read < size) {
|
||||
@ -93,7 +91,6 @@ function getFileBody(root,path) {
|
||||
var scanning = true;
|
||||
var read = 0;
|
||||
var length = 50;
|
||||
var offset = 0;
|
||||
var remaining = "";
|
||||
var buffer = Buffer(length);
|
||||
while(read < size) {
|
||||
|
Loading…
Reference in New Issue
Block a user