summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ssh/ssh-pkcs11-helper.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.bin/ssh/ssh-pkcs11-helper.c b/usr.bin/ssh/ssh-pkcs11-helper.c
index 4165893d06f..f93bce24c5f 100644
--- a/usr.bin/ssh/ssh-pkcs11-helper.c
+++ b/usr.bin/ssh/ssh-pkcs11-helper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-pkcs11-helper.c,v 1.22 2020/01/25 00:03:36 djm Exp $ */
+/* $OpenBSD: ssh-pkcs11-helper.c,v 1.23 2020/03/06 18:26:21 markus Exp $ */
/*
* Copyright (c) 2010 Markus Friedl. All rights reserved.
*
@@ -313,7 +313,7 @@ cleanup_exit(int i)
int
main(int argc, char **argv)
{
- int r, ch, in, out, max, log_stderr = 0;
+ int r, ch, in, out, log_stderr = 0;
ssize_t len;
SyslogFacility log_facility = SYSLOG_FACILITY_AUTH;
LogLevel log_level = SYSLOG_LEVEL_ERROR;
@@ -346,12 +346,6 @@ main(int argc, char **argv)
in = STDIN_FILENO;
out = STDOUT_FILENO;
- max = 0;
- if (in > max)
- max = in;
- if (out > max)
- max = out;
-
if ((iqueue = sshbuf_new()) == NULL)
fatal("%s: sshbuf_new failed", __func__);
if ((oqueue = sshbuf_new()) == NULL)