From e0b59e7dbcd5496fc77bf6e39da19196367a2388 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 11 Oct 2011 15:20:09 -0700 Subject: [PATCH] Remove more dead code --- src/node.cc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/node.cc b/src/node.cc index 3931e2023..08f9ba3f4 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1970,17 +1970,6 @@ static Handle EnvGetter(Local property, } -static bool ENV_warning = false; -static Handle EnvGetterWarn(Local property, - const AccessorInfo& info) { - if (!ENV_warning) { - ENV_warning = true; - fprintf(stderr, "(node) Use process.env instead of process.ENV\r\n"); - } - return EnvGetter(property, info); -} - - static Handle EnvSetter(Local property, Local value, const AccessorInfo& info) {