mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-19 08:34:32 +00:00
Remove unused variables from RLIMIT_NOFILE test.
This commit is contained in:
parent
35e82e62c1
commit
34e87fb5d9
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user