From efb2b703a655b29a692819c8bdb191792da6416e Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 9 Sep 2009 18:06:58 +0200 Subject: [PATCH] Remove compiler warning with extra assert. --- src/node_stdio.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/node_stdio.cc b/src/node_stdio.cc index 209857d709..e4f290468c 100644 --- a/src/node_stdio.cc +++ b/src/node_stdio.cc @@ -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"))); }