From 71c789bb19e9d715f887557fdfde53bff5ff6ff7 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Fri, 14 Apr 2017 17:03:04 -0700 Subject: [PATCH] Remove unused local in OpenSSLCertUtils Summary: It's unused, and MSVC is warning about that fact. Reviewed By: anirudhvr Differential Revision: D4894403 fbshipit-source-id: 767b944eb9fa0376c795555357c09bbf9179e24f --- folly/ssl/OpenSSLCertUtils.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/folly/ssl/OpenSSLCertUtils.cpp b/folly/ssl/OpenSSLCertUtils.cpp index 9dbbe46a..10c5f996 100644 --- a/folly/ssl/OpenSSLCertUtils.cpp +++ b/folly/ssl/OpenSSLCertUtils.cpp @@ -159,8 +159,6 @@ std::string OpenSSLCertUtils::getDateTimeStr(const ASN1_TIME* time) { return ""; } - std::array buf; - auto bio = BioUniquePtr(BIO_new(BIO_s_mem())); if (bio == nullptr) { throw std::runtime_error("Cannot allocate bio"); -- 2.34.1