listen: "port" argument is unused when TCP support is disabled

Add a G_GNUC_UNUSED attribute.
This commit is contained in:
Max Kellermann 2008-12-24 11:07:58 +01:00
parent d66dddb47e
commit 4716ef1014
1 changed files with 2 additions and 1 deletions

View File

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