From d582954434d4f4c8055cfaf62984c8597cb745cb 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 a2fc10f3b32..31d52f2cf90 100644 --- a/src/crypto/crypto_x509.cc +++ b/src/crypto/crypto_x509.cc @@ -147,7 +147,6 @@ MaybeLocal X509Certificate::GetPeerCert( const SSLPointer& ssl, GetPeerCertificateFlag flag) { ClearErrorOnReturn clear_error_on_return; - MaybeLocal maybe_cert; bool is_server = static_cast(flag) & static_cast(GetPeerCertificateFlag::SERVER);