1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #293 from hindessm/remove-some-unused-variables

Remove some unused variables.
This commit is contained in:
Nick O'Leary 2014-07-24 12:35:54 +01:00
commit 166a798c09
3 changed files with 0 additions and 6 deletions

View File

@ -20,7 +20,6 @@ var clone = require("clone");
var when = require("when"); var when = require("when");
var flows = require("./flows"); var flows = require("./flows");
var credentials = require('./credentials')
var comms = require("../comms"); var comms = require("../comms");
function Node(n) { function Node(n) {

View File

@ -60,10 +60,8 @@ function getFileMeta(root,path) {
var fd = fs.openSync(fn,"r"); var fd = fs.openSync(fn,"r");
var size = fs.fstatSync(fd).size; var size = fs.fstatSync(fd).size;
var meta = {}; var meta = {};
var scanning = true;
var read = 0; var read = 0;
var length = 10; var length = 10;
var offset = 0;
var remaining = ""; var remaining = "";
var buffer = Buffer(length); var buffer = Buffer(length);
while(read < size) { while(read < size) {
@ -93,7 +91,6 @@ function getFileBody(root,path) {
var scanning = true; var scanning = true;
var read = 0; var read = 0;
var length = 50; var length = 50;
var offset = 0;
var remaining = ""; var remaining = "";
var buffer = Buffer(length); var buffer = Buffer(length);
while(read < size) { while(read < size) {

View File

@ -14,8 +14,6 @@
* limitations under the License. * limitations under the License.
**/ **/
var express = require('express'); var express = require('express');
var util = require('util');
var crypto = require('crypto');
var fs = require("fs"); var fs = require("fs");
var app = express(); var app = express();
var events = require("./events"); var events = require("./events");