Browse Source

Remove compiler warning with extra assert.

v0.7.4-release
Ryan 16 years ago
parent
commit
efb2b703a6
  1. 2
      src/node_stdio.cc

2
src/node_stdio.cc

@ -189,6 +189,8 @@ Close (const Arguments& args)
{ {
HandleScope scope; HandleScope scope;
assert(stdio == args.Holder());
if (stdin_fd < 0) { if (stdin_fd < 0) {
return ThrowException(Exception::Error(String::New("stdin not open"))); return ThrowException(Exception::Error(String::New("stdin not open")));
} }

Loading…
Cancel
Save