listen: "port" argument is unused when TCP support is disabled
Add a G_GNUC_UNUSED attribute.
This commit is contained in:
parent
d66dddb47e
commit
4716ef1014
|
@ -112,7 +112,8 @@ static int establishListen(int pf, const struct sockaddr *addrp,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void parseListenConfigParam(unsigned int port, ConfigParam * param)
|
||||
static void
|
||||
parseListenConfigParam(G_GNUC_UNUSED unsigned int port, ConfigParam * param)
|
||||
{
|
||||
const struct sockaddr *addrp;
|
||||
socklen_t addrlen;
|
||||
|
|
Loading…
Reference in New Issue