listen: fix "unused parameter" warning on WIN32
This commit is contained in:
parent
e8ebb1af91
commit
a016fb4048
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user