Commit 4716ef10 authored by Max Kellermann's avatar Max Kellermann

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

Add a G_GNUC_UNUSED attribute.
parent d66dddb4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment