From 416c14f644fad139b00471719d025e1673279c45 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 27 Sep 2011 15:04:01 -0700 Subject: [PATCH] Remove a few instances of process.binding('stdio') from src/node.js --- src/node.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/node.js b/src/node.js index 25b2e3a..646408b 100644 --- a/src/node.js +++ b/src/node.js @@ -107,7 +107,6 @@ process.nextTick(Module.runMain); } else { - var binding = process.binding('stdio'); var Module = NativeModule.require('module'); // If stdin is a TTY. @@ -224,7 +223,6 @@ if (stdout) return stdout; var tty_wrap = process.binding('tty_wrap'); - var binding = process.binding('stdio'); var fd = 1; // Note stdout._type is used for test-module-load-list.js @@ -286,7 +284,6 @@ if (stdin) return stdin; var tty_wrap = process.binding('tty_wrap'); - var binding = process.binding('stdio'); var fd = 0; switch (tty_wrap.guessHandleType(fd)) { -- 2.7.4