mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
remove some warnings
This commit is contained in:
@ -157,7 +157,6 @@ int ICACHE_FLASH_ATTR WiFiClient::available()
|
||||
|
||||
int ICACHE_FLASH_ATTR WiFiClient::read()
|
||||
{
|
||||
uint8_t b;
|
||||
if (!available())
|
||||
return -1;
|
||||
|
||||
|
@ -54,6 +54,7 @@ WiFiUDP& WiFiUDP::operator=(const WiFiUDP& rhs)
|
||||
_ctx = rhs._ctx;
|
||||
if (_ctx)
|
||||
_ctx->ref();
|
||||
return *this;
|
||||
}
|
||||
|
||||
WiFiUDP::~WiFiUDP()
|
||||
|
@ -49,6 +49,7 @@ class ClientContext {
|
||||
|
||||
ClientContext* next(ClientContext* new_next) {
|
||||
_next = new_next;
|
||||
return _next;
|
||||
}
|
||||
|
||||
void ref() {
|
||||
|
Reference in New Issue
Block a user