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>
This commit is contained in:
parent
a7a871476e
commit
c0f031c5bd
@ -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>();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user