diff options
author | Max Kellermann <max@duempel.org> | 2010-09-23 20:51:23 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-09-23 20:51:23 +0200 |
commit | a016fb4048314e301d1ab85a116f1e4ce203c56d (patch) | |
tree | fff74d9c1a6272372bff1f11172039e8aa67e7fd | |
parent | e8ebb1af91435674784dcbbc3207331fcdac7458 (diff) | |
download | mpd-a016fb4048314e301d1ab85a116f1e4ce203c56d.tar.gz mpd-a016fb4048314e301d1ab85a116f1e4ce203c56d.tar.xz mpd-a016fb4048314e301d1ab85a116f1e4ce203c56d.zip |
listen: fix "unused parameter" warning on WIN32
-rw-r--r-- | src/listen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/listen.c b/src/listen.c index 3028b9476..f6757d4e2 100644 --- a/src/listen.c +++ b/src/listen.c @@ -422,6 +422,8 @@ static int get_remote_uid(int fd) if (getpeereid(fd, &euid, &egid) == 0) return euid; +#else + (void)fd; #endif return -1; #endif |