mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-03 08:12:05 +00:00
upstream: remove unused variables in ssh-pkcs11-helper; ok djm
OpenBSD-Commit-ID: 13e572846d0d1b28f1251ddd2165e9cf18135ae1
This commit is contained in:
parent
1b378c0d98
commit
e26a31757c
@ -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.
|
* Copyright (c) 2010 Markus Friedl. All rights reserved.
|
||||||
*
|
*
|
||||||
@ -324,7 +324,7 @@ cleanup_exit(int i)
|
|||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
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;
|
ssize_t len;
|
||||||
SyslogFacility log_facility = SYSLOG_FACILITY_AUTH;
|
SyslogFacility log_facility = SYSLOG_FACILITY_AUTH;
|
||||||
LogLevel log_level = SYSLOG_LEVEL_ERROR;
|
LogLevel log_level = SYSLOG_LEVEL_ERROR;
|
||||||
@ -360,12 +360,6 @@ main(int argc, char **argv)
|
|||||||
in = STDIN_FILENO;
|
in = STDIN_FILENO;
|
||||||
out = STDOUT_FILENO;
|
out = STDOUT_FILENO;
|
||||||
|
|
||||||
max = 0;
|
|
||||||
if (in > max)
|
|
||||||
max = in;
|
|
||||||
if (out > max)
|
|
||||||
max = out;
|
|
||||||
|
|
||||||
if ((iqueue = sshbuf_new()) == NULL)
|
if ((iqueue = sshbuf_new()) == NULL)
|
||||||
fatal("%s: sshbuf_new failed", __func__);
|
fatal("%s: sshbuf_new failed", __func__);
|
||||||
if ((oqueue = sshbuf_new()) == NULL)
|
if ((oqueue = sshbuf_new()) == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user