mirror of https://github.com/nodejs/node.git
Remove compiler warning with extra assert.
parent
393caeb4c9
commit
efb2b703a6
|
@ -189,6 +189,8 @@ Close (const Arguments& args)
|
|||
{
|
||||
HandleScope scope;
|
||||
|
||||
assert(stdio == args.Holder());
|
||||
|
||||
if (stdin_fd < 0) {
|
||||
return ThrowException(Exception::Error(String::New("stdin not open")));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue