mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +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;
|
struct in_addr mc_if;
|
||||||
memset(&mc_if, 0, sizeof(mc_if));
|
memset(&mc_if, 0, sizeof(mc_if));
|
||||||
mc_if.s_addr = pIPAddrTable->table[i].dwAddr;
|
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;
|
((struct sockaddr_in *)&sockudp_r)->sin_addr.s_addr = pIPAddrTable->table[i].dwAddr;
|
||||||
#ifndef DEBUG
|
#ifndef DEBUG
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user