8000 Prevent Compiler Warning: --> add // falls through · smartcoder00/arduinoWebSockets@860ac9d · GitHub
[go: up one dir, main page]

Skip to content

Commit 860ac9d

Browse files
hasenradballLinks2004
authored andcommitted
Prevent Compiler Warning: --> add // falls through
prevent Compiler warning by adding // falls through to imform compiler.
1 parent c897f60 commit 860ac9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/WebSocketsClient.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,8 +784,10 @@ void WebSocketsClient::handleHeader(WSclient_t * client, String * headerLine) {
784784
if(client->isSocketIO) {
785785
break;
786786
}
787+
// falls through
787788
case 403: ///< Forbidden
788789
// todo handle login
790+
// falls through
789791
default: ///< Server dont unterstand requrst
790792
ok = false;
791793
DEBUG_WEBSOCKETS("[WS-Client][handleHeader] serverCode is not 101 (%d)\n", client->cCode);

0 commit comments

Comments
 (0)
0