=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh-pkcs11-helper.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- src/usr.bin/ssh/ssh-pkcs11-helper.c 2020/01/25 00:03:36 1.22 +++ src/usr.bin/ssh/ssh-pkcs11-helper.c 2020/03/06 18:26:21 1.23 @@ -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 @@ 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; @@ -345,12 +345,6 @@ pkcs11_init(0); 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__);