Browse Source

src: remove unused symbols in node_file.cc

v0.9.12-release
Ben Noordhuis 12 years ago
parent
commit
3dbbfd7803
  1. 7
      src/node_file.cc

7
src/node_file.cc

@ -61,9 +61,6 @@ class FSReqWrap: public ReqWrap<uv_fs_t> {
}; };
static Persistent<String> encoding_symbol;
static Persistent<String> errno_symbol;
static Persistent<String> buf_symbol;
static Persistent<String> oncomplete_sym; static Persistent<String> oncomplete_sym;
@ -951,10 +948,6 @@ void File::Initialize(Handle<Object> target) {
NODE_SET_METHOD(target, "utimes", UTimes); NODE_SET_METHOD(target, "utimes", UTimes);
NODE_SET_METHOD(target, "futimes", FUTimes); 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<Object> target) { void InitFs(Handle<Object> target) {

Loading…
Cancel
Save