Remove unused variables from RLIMIT_NOFILE test.

This commit is contained in:
Darren Tucker 2019-04-30 12:27:57 +10:00
parent 35e82e62c1
commit 34e87fb5d9

View File

@ -3342,8 +3342,7 @@ AC_RUN_IFELSE(
#include <stdlib.h> #include <stdlib.h>
]],[[ ]],[[
struct rlimit rl_zero; struct rlimit rl_zero;
int fd, r; int r;
fd_set fds;
rl_zero.rlim_cur = rl_zero.rlim_max = 0; rl_zero.rlim_cur = rl_zero.rlim_max = 0;
r = setrlimit(RLIMIT_NOFILE, &rl_zero); r = setrlimit(RLIMIT_NOFILE, &rl_zero);