Silence compiler warning message.
warning: unused parameter ‘listen_port6’
(cherry picked from commit e16cb4b225
)
This commit is contained in:
parent
babfc0ac60
commit
583e90cdbc
@ -745,6 +745,10 @@ static int get_miniserver_sockets(
|
||||
out->miniServerSock4 = listenfd4;
|
||||
#ifdef UPNP_ENABLE_IPV6
|
||||
out->miniServerSock6 = listenfd6;
|
||||
#else
|
||||
/* Silence compiler warning message:
|
||||
* warning: unused parameter ‘listen_port6’ */
|
||||
listen_port6 = 0;
|
||||
#endif
|
||||
return UPNP_E_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user