listen: suppress "unused variable" warning

This commit is contained in:
Max Kellermann 2011-03-23 22:27:31 +01:00
parent 87ad2f8542
commit d4b00ff11c

View File

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