From 4716ef10142ad7d29a8ee552f041b2483c74094d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Dec 2008 11:07:58 +0100 Subject: listen: "port" argument is unused when TCP support is disabled Add a G_GNUC_UNUSED attribute. --- src/listen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/listen.c') diff --git a/src/listen.c b/src/listen.c index 0e3467364..5a2b8d3da 100644 --- a/src/listen.c +++ b/src/listen.c @@ -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; -- cgit v1.2.3