[openssh-commits] [openssh] 01/01: Remove unused variables from RLIMIT_NOFILE test.
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Apr 30 13:01:25 AEST 2019
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 34e87fb5d9ce607f5701ab4c31d837ad8133e2d1
Author: Darren Tucker <dtucker at dtucker.net>
Date: Tue Apr 30 12:27:57 2019 +1000
Remove unused variables from RLIMIT_NOFILE test.
---
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 30be6c18..9022ee9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list