From fb26fa1a439258710cc23613e275c3965d63e91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sat, 5 Apr 2025 16:47:23 +0200 Subject: [PATCH] src: remove unused variable in crypto_x509.cc PR-URL: https://github.com/nodejs/node/pull/57754 Reviewed-By: Tim Perry Reviewed-By: Luigi Pinca Reviewed-By: Filip Skokan Reviewed-By: Richard Lau Reviewed-By: Yagiz Nizipli --- src/crypto/crypto_x509.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/crypto/crypto_x509.cc b/src/crypto/crypto_x509.cc index 8990d097471..5b040a2f3cd 100644 --- a/src/crypto/crypto_x509.cc +++ b/src/crypto/crypto_x509.cc @@ -870,7 +870,6 @@ MaybeLocal X509Certificate::GetPeerCert(Environment* env, const SSLPointer& ssl, GetPeerCertificateFlag flag) { ClearErrorOnReturn clear_error_on_return; - MaybeLocal maybe_cert; X509Pointer cert; if ((flag & GetPeerCertificateFlag::SERVER) ==