mirror of
https://github.com/esp8266/Arduino.git
synced 2025-12-13 20:03:19 +03:00
Fix warnings (#2881)
* Suppressed -Wunused-parameter and -Wunused-function by casting to void unused identifiers. * Explicit initialization of all fields to suppress -Wmissing-field-initializers. * Fixed signed/unsigned integer comparison. * memset initialization of structs. * More -Wunused-parameter fixes.
This commit is contained in:
committed by
Ivan Grokhotkov
parent
d85e783806
commit
2126146e20
@@ -330,6 +330,9 @@ private:
|
||||
void _recv(udp_pcb *upcb, pbuf *pb,
|
||||
ip_addr_t *addr, u16_t port)
|
||||
{
|
||||
(void) upcb;
|
||||
(void) addr;
|
||||
(void) port;
|
||||
if (_rx_buf)
|
||||
{
|
||||
// there is some unread data
|
||||
|
||||
Reference in New Issue
Block a user