fix unused parameter warnings

fix switch warinings

part of #319
This commit is contained in:
Links
2018-05-12 11:39:59 +02:00
parent 9ce044e550
commit bde97179bf
3 changed files with 15 additions and 0 deletions

View File

@ -518,6 +518,11 @@ void WebSocketsServer::messageReceived(WSclient_t * client, WSopcode_t opcode, u
case WSop_continuation:
type = fin ? WStype_FRAGMENT_FIN : WStype_FRAGMENT;
break;
case WSop_close:
case WSop_ping:
case WSop_pong:
default:
break;
}
runCbEvent(client->num, type, payload, length);