From d3c498b1b7ab12d81b78a3b6ce71a508c3e1740c Mon Sep 17 00:00:00 2001 From: Yazhong Liu Date: Sun, 13 Dec 2015 23:37:27 +0800 Subject: [PATCH] node: remove unused variables in AppendExceptionLine PR-URL: https://github.com/nodejs/node/pull/4264 Reviewed-By: Colin Ihrig Reviewed-By: Ben Noordhuis Reviewed-By: James M Snell --- src/node.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/node.cc b/src/node.cc index 3e3577d8a9c079..49cfc8a06053d2 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1482,8 +1482,6 @@ void AppendExceptionLine(Environment* env, arrow[off + 1] = '\0'; Local arrow_str = String::NewFromUtf8(env->isolate(), arrow); - Local msg; - Local stack; // Allocation failed, just print it out if (arrow_str.IsEmpty() || err_obj.IsEmpty() || !err_obj->IsNativeError())