Skip to content

Commit 12be369

Browse files
s-hadingerme-no-dev
authored andcommitted
Fix warning in WifiUdp
1 parent 7b42a93 commit 12be369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/WiFiUdp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ void WiFiUDP::stop(){
169169
for (netif* intf = netif_list; intf != nullptr; intf = intf->next) {
170170
mreq.ipv6mr_interface = intf->num + 1;
171171
if (intf->name[0] != 'l' || intf->name[1] != 'o') { // skip 'lo' local interface
172-
int ret = setsockopt(udp_server, IPPROTO_IPV6, IPV6_LEAVE_GROUP, &mreq, sizeof(mreq));
172+
setsockopt(udp_server, IPPROTO_IPV6, IPV6_LEAVE_GROUP, &mreq, sizeof(mreq));
173173
}
174174
}
175175
} else

0 commit comments

Comments
 (0)