mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Remove more dead code
This commit is contained in:
1 parent
7085a04a1e
commit
e0b59e7dbc
1 file changed
-11
-11
@@ -1970,17 +1970,6 @@ static Handle<Value> EnvGetter(Local<String> property,
|
||||
}
|
||||
|
||||
|
||||
static bool ENV_warning = false;
|
||||
static Handle<Value> EnvGetterWarn(Local<String> 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<Value> EnvSetter(Local<String> property,
|
||||
Local<Value> value,
|
||||
const AccessorInfo& info) {
|
||||
|
||||
Reference in new issue
Block a user