listen: fix "unused parameter" warning on WIN32

This commit is contained in:
Max Kellermann 2010-09-23 20:51:23 +02:00
parent e8ebb1af91
commit a016fb4048

View File

@ -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