diff options
author | Max Kellermann <max@duempel.org> | 2008-12-24 11:07:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-24 11:07:58 +0100 |
commit | 4716ef10142ad7d29a8ee552f041b2483c74094d (patch) | |
tree | a644bac7021c40b67e9a5e1ab0d59eba58672b75 /src | |
parent | d66dddb47eb8f1117b2387fe9e9e0b746c0cc315 (diff) | |
download | mpd-4716ef10142ad7d29a8ee552f041b2483c74094d.tar.gz mpd-4716ef10142ad7d29a8ee552f041b2483c74094d.tar.xz mpd-4716ef10142ad7d29a8ee552f041b2483c74094d.zip |
listen: "port" argument is unused when TCP support is disabled
Add a G_GNUC_UNUSED attribute.
Diffstat (limited to '')
-rw-r--r-- | src/listen.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |