From 3dbbfd78030d07acf9b5d0e9c61113ff315a783a Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 6 Mar 2013 14:45:47 +0100 Subject: [PATCH] src: remove unused symbols in node_file.cc --- src/node_file.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/node_file.cc b/src/node_file.cc index 9e43961266..c4441bd125 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -61,9 +61,6 @@ class FSReqWrap: public ReqWrap { }; -static Persistent encoding_symbol; -static Persistent errno_symbol; -static Persistent buf_symbol; static Persistent oncomplete_sym; @@ -951,10 +948,6 @@ void File::Initialize(Handle target) { NODE_SET_METHOD(target, "utimes", UTimes); NODE_SET_METHOD(target, "futimes", FUTimes); - - errno_symbol = NODE_PSYMBOL("errno"); - encoding_symbol = NODE_PSYMBOL("node:encoding"); - buf_symbol = NODE_PSYMBOL("__buf"); } void InitFs(Handle target) {