listen: suppress "unused variable" warning
This commit is contained in:
parent
87ad2f8542
commit
d4b00ff11c
@ -413,6 +413,8 @@ static int get_remote_uid(int fd)
|
|||||||
|
|
||||||
if (getpeereid(fd, &euid, &egid) == 0)
|
if (getpeereid(fd, &euid, &egid) == 0)
|
||||||
return euid;
|
return euid;
|
||||||
|
#else
|
||||||
|
(void)fd;
|
||||||
#endif
|
#endif
|
||||||
return -1;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user