Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
This commit is contained in:
1 parent
cbb0fe41de
commit
a06e5d7d40
14 files changed
+21
-21
No files matched your search
@@ -521,8 +521,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...");
|
||||
|
||||
Reference in new issue
Block a user