Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs (#25054)

Related: #25006
This commit is contained in:
Peter Keresztes Schmidt
2020-07-18 20:42:28 +02:00
committed by GitHub
parent 7032ee0bdb
commit 85b5b842ca
37 changed files with 59 additions and 59 deletions

View File

@@ -545,8 +545,8 @@ bool MySQLConnection::_HandleMySQLErrno(uint32 errNo, uint8 attempts /*= 5*/)
mysql_close(m_Mysql);
m_Mysql = nullptr;
}
[[fallthrough]];
}
/* fallthrough */
case CR_CONN_HOST_ERROR:
{
TC_LOG_INFO("sql.sql", "Attempting to reconnect to the MySQL server...");