From 03e9495cc270d3167a9ecc83c3516b45ab825239 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 1e38c811cd..65afc8c1fe 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1481,8 +1481,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())