From: Christopher Dykes Date: Sat, 15 Apr 2017 00:03:04 +0000 (-0700) Subject: Remove unused local in OpenSSLCertUtils X-Git-Tag: v2017.04.17.00~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=71c789bb19e9d715f887557fdfde53bff5ff6ff7;p=folly.git 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 --- 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");