Prevent Compiler Warning: --> add // falls through

prevent Compiler warning by adding // falls through to imform compiler.
This commit is contained in:
Hasenradball
2021-06-19 21:52:13 +02:00
committed by Markus
parent c897f60567
commit 860ac9da69

View File

@ -784,8 +784,10 @@ void WebSocketsClient::handleHeader(WSclient_t * client, String * headerLine) {
if(client->isSocketIO) { if(client->isSocketIO) {
break; break;
} }
// falls through
case 403: ///< Forbidden case 403: ///< Forbidden
// todo handle login // todo handle login
// falls through
default: ///< Server dont unterstand requrst default: ///< Server dont unterstand requrst
ok = false; ok = false;
DEBUG_WEBSOCKETS("[WS-Client][handleHeader] serverCode is not 101 (%d)\n", client->cCode); DEBUG_WEBSOCKETS("[WS-Client][handleHeader] serverCode is not 101 (%d)\n", client->cCode);