From 3707a99e57bfa1c21caf7ab2fc71078009e56fd1 Mon Sep 17 00:00:00 2001 From: levy Date: Fri, 21 Aug 2020 14:44:03 +0800 Subject: [PATCH] fix --- src/runtime/security/client_negotiation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/security/client_negotiation.cpp b/src/runtime/security/client_negotiation.cpp index 586c14a526..9326fa8562 100644 --- a/src/runtime/security/client_negotiation.cpp +++ b/src/runtime/security/client_negotiation.cpp @@ -88,7 +88,7 @@ void client_negotiation::recv_mechanisms(const negotiation_response &resp) return; } - std::string match_mechanism = ""; + std::string match_mechanism; std::vector server_support_mechanisms; std::string resp_string = resp.msg; utils::split_args(resp_string.c_str(), server_support_mechanisms, ',');