Fix warnings in platformIO

Fix : warning: enumeration value 'WStype_ERROR' not handled in switch [-Wswitch]
Fix : warning: variable 'ip' set but not used [-Wunused-but-set-variable]
This commit is contained in:
Luc
2019-07-04 12:58:37 +02:00
parent 9a803e1fb3
commit bd158c9c5c
2 changed files with 5 additions and 1 deletions

View File

@@ -161,7 +161,7 @@ void SocketIOclient::handleCbEvent(WStype_t type, uint8_t * payload, size_t leng
break;
}
} break;
case WStype_ERROR:
case WStype_BIN:
case WStype_FRAGMENT_TEXT_START:
case WStype_FRAGMENT_BIN_START: