From c0f031c5bd6dafa2e7a3163d796b566472efc50a Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sat, 23 Mar 2019 11:34:18 -0400 Subject: [PATCH] src: remove unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/26879 Reviewed-By: Yongsheng Zhang Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca --- src/js_native_api_v8.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/js_native_api_v8.cc b/src/js_native_api_v8.cc index f7c6b6db4ffebc..f6914e72ddafd2 100644 --- a/src/js_native_api_v8.cc +++ b/src/js_native_api_v8.cc @@ -1513,7 +1513,6 @@ static inline napi_status set_error_code(napi_env env, napi_value code, const char* code_cstring) { if ((code != nullptr) || (code_cstring != nullptr)) { - v8::Isolate* isolate = env->isolate; v8::Local context = env->context(); v8::Local err_object = error.As();