mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
(miniupnpc) Get rid of warning - value computed is not used
This commit is contained in:
parent
f00a75ec84
commit
9381d27f1f
2
deps/miniupnpc/minissdpc.c
vendored
2
deps/miniupnpc/minissdpc.c
vendored
@ -584,7 +584,7 @@ ssdpDiscoverDevices(const char * const deviceTypes[],
|
||||
struct in_addr mc_if;
|
||||
memset(&mc_if, 0, sizeof(mc_if));
|
||||
mc_if.s_addr = pIPAddrTable->table[i].dwAddr;
|
||||
setsockopt(sudp, IPPROTO_IP, IP_MULTICAST_IF, (const char *)&mc_if, sizeof(mc_if)) < 0;
|
||||
setsockopt(sudp, IPPROTO_IP, IP_MULTICAST_IF, (const char *)&mc_if, sizeof(mc_if));
|
||||
((struct sockaddr_in *)&sockudp_r)->sin_addr.s_addr = pIPAddrTable->table[i].dwAddr;
|
||||
#ifndef DEBUG
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user