1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-05 13:16:13 +03:00

Fixing warnings in Ethernet library (Paul Stoffregen).

http://code.google.com/p/arduino/issues/detail?id=208
This commit is contained in:
David A. Mellis
2011-10-02 10:17:33 -04:00
parent 85c109f255
commit 965480f148
8 changed files with 12 additions and 13 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);