Silence compiler warning message.

warning: unused parameter ‘listen_port6’
(cherry picked from commit e16cb4b225)
This commit is contained in:
Marcelo Roberto Jimenez 2011-03-15 18:27:17 -03:00
parent babfc0ac60
commit 583e90cdbc

View File

@ -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;
}