summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2023-04-03 10:00:40 +0200
committerGitHub <noreply@github.com>2023-04-03 08:00:40 +0000
commit9a31ac19f4bdad92412fe678c7debe370a29eb44 (patch)
tree44b9954b224685f73eb5dcdeb666aad54f12bcb4 /src
parent81bb1b053bc6e50bcd262f62a0aaaab9cce9566c (diff)
downloadnode-new-9a31ac19f4bdad92412fe678c7debe370a29eb44.tar.gz
src: remove unused variable in crypto_x509.cc
PR-URL: https://github.com/nodejs/node/pull/47344 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/crypto/crypto_x509.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/crypto/crypto_x509.cc b/src/crypto/crypto_x509.cc
index e1b713644a..c2d4f44f28 100644
--- a/src/crypto/crypto_x509.cc
+++ b/src/crypto/crypto_x509.cc
@@ -136,7 +136,6 @@ MaybeLocal<Object> X509Certificate::GetPeerCert(
const SSLPointer& ssl,
GetPeerCertificateFlag flag) {
ClearErrorOnReturn clear_error_on_return;
- Local<Object> obj;
MaybeLocal<Object> maybe_cert;
bool is_server =