aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-03-23 22:27:31 +0100
committerMax Kellermann <max@duempel.org>2011-03-23 22:27:31 +0100
commitd4b00ff11cf102d8982ef342371acfa16ed2e515 (patch)
tree0ae57ce954d48195bb26144d72dd879c818f630d /src
parent87ad2f85428ed6fb30e38efbf4c04a9c758e5e5d (diff)
downloadmpd-d4b00ff11cf102d8982ef342371acfa16ed2e515.tar.gz
mpd-d4b00ff11cf102d8982ef342371acfa16ed2e515.tar.xz
mpd-d4b00ff11cf102d8982ef342371acfa16ed2e515.zip
listen: suppress "unused variable" warning
Diffstat (limited to 'src')
-rw-r--r--src/listen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/listen.c b/src/listen.c
index d6cade855..a4822c104 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -413,6 +413,8 @@ static int get_remote_uid(int fd)
if (getpeereid(fd, &euid, &egid) == 0)
return euid;
+#else
+ (void)fd;
#endif
return -1;
#endif