Commit d4b00ff1 authored by Max Kellermann's avatar Max Kellermann

listen: suppress "unused variable" warning

parent 87ad2f85
...@@ -413,6 +413,8 @@ static int get_remote_uid(int fd) ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment