summaryrefslogtreecommitdiff
path: root/src/js_native_api_v8.cc
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-03-23 11:34:18 -0400
committercjihrig <cjihrig@gmail.com>2019-03-23 17:33:25 -0400
commitc0f031c5bd6dafa2e7a3163d796b566472efc50a (patch)
tree8295a4ed7430f2f44680be53c2d0306136dfc93d /src/js_native_api_v8.cc
parenta7a871476e0116e85b7ae8e5b2eb00761206ab75 (diff)
downloadandroid-node-v8-c0f031c5bd6dafa2e7a3163d796b566472efc50a.tar.gz
android-node-v8-c0f031c5bd6dafa2e7a3163d796b566472efc50a.tar.bz2
android-node-v8-c0f031c5bd6dafa2e7a3163d796b566472efc50a.zip
src: remove unused variable
PR-URL: https://github.com/nodejs/node/pull/26879 Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'src/js_native_api_v8.cc')
-rw-r--r--src/js_native_api_v8.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/js_native_api_v8.cc b/src/js_native_api_v8.cc
index f7c6b6db4f..f6914e72dd 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<v8::Context> context = env->context();
v8::Local<v8::Object> err_object = error.As<v8::Object>();