mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
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>
This commit is contained in:
1 parent
c311b61430
commit
d3c498b1b7
1 file changed
-2
@@ -1482,8 +1482,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())
|
||||
|
||||
Reference in new issue
Block a user