Skip to content

Commit

Permalink
src: remove unused variable
Browse files Browse the repository at this point in the history
PR-URL: #26879
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
cjihrig committed Mar 23, 2019
1 parent a7a8714 commit c0f031c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/js_native_api_v8.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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>();

Expand Down

0 comments on commit c0f031c

Please sign in to comment.