From ee48d11b464093057ffed95610f125c2e0781696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Mon, 5 Sep 2022 19:30:29 +0200 Subject: [PATCH] Remove comment and call with unused result to 'std::stack::top()' --- lib/MySQL_Session.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/MySQL_Session.cpp b/lib/MySQL_Session.cpp index d1085337d..582e02554 100644 --- a/lib/MySQL_Session.cpp +++ b/lib/MySQL_Session.cpp @@ -2738,9 +2738,8 @@ bool MySQL_Session::handler_again___status_CONNECTING_SERVER(int *_rc) { std::string errmsg; generate_status_one_hostgroup(current_hostgroup, errmsg); proxy_error("%s . HG status: %s\n", buf, errmsg.c_str()); - //enum session_status st; + while (previous_status.size()) { - previous_status.top(); previous_status.pop(); } if (mybe->server_myds->myconn) {