Browse Source

node: remove unused variables in AppendExceptionLine

PR-URL: https://github.com/nodejs/node/pull/4264
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
v4.x
Yazhong Liu 9 years ago
committed by Myles Borins
parent
commit
03e9495cc2
  1. 2
      src/node.cc

2
src/node.cc

@ -1481,8 +1481,6 @@ void AppendExceptionLine(Environment* env,
arrow[off + 1] = '\0';
Local<String> arrow_str = String::NewFromUtf8(env->isolate(), arrow);
Local<Value> msg;
Local<Value> stack;
// Allocation failed, just print it out
if (arrow_str.IsEmpty() || err_obj.IsEmpty() || !err_obj->IsNativeError())

Loading…
Cancel
Save