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
1 changed files with 1 additions and 2 deletions

View File

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