Skip to content

Commit

Permalink
node: remove unused variables in AppendExceptionLine
Browse files Browse the repository at this point in the history
PR-URL: #4264
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
yorkie authored and Myles Borins committed Jan 19, 2016
1 parent 7983577 commit 03e9495
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 03e9495

Please sign in to comment.