1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

Fixing warnings (David H. Lynch Jr).

This commit is contained in:
David A. Mellis
2011-03-03 22:56:20 -05:00
parent fe8af70c61
commit d59fcb8eed
6 changed files with 47 additions and 48 deletions

View File

@ -9,7 +9,6 @@ static uint16_t local_port;
*/
uint8_t socket(SOCKET s, uint8_t protocol, uint16_t port, uint8_t flag)
{
uint8_t ret;
if ((protocol == SnMR::TCP) || (protocol == SnMR::UDP) || (protocol == SnMR::IPRAW) || (protocol == SnMR::MACRAW) || (protocol == SnMR::PPPOE))
{
close(s);