mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-11 17:22:40 +03:00
options: Remove set-but-never read variable
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
This commit is contained in:
@@ -1352,7 +1352,6 @@ int ssh_options_getopt(ssh_session session, int *argcptr, char **argv)
|
|||||||
size_t i = 0;
|
size_t i = 0;
|
||||||
int argc = *argcptr;
|
int argc = *argcptr;
|
||||||
int debuglevel = 0;
|
int debuglevel = 0;
|
||||||
int usersa = 0;
|
|
||||||
int compress = 0;
|
int compress = 0;
|
||||||
int cont = 1;
|
int cont = 1;
|
||||||
size_t current = 0;
|
size_t current = 0;
|
||||||
@@ -1378,7 +1377,6 @@ int ssh_options_getopt(ssh_session session, int *argcptr, char **argv)
|
|||||||
debuglevel++;
|
debuglevel++;
|
||||||
break;
|
break;
|
||||||
case 'r':
|
case 'r':
|
||||||
usersa++;
|
|
||||||
break;
|
break;
|
||||||
case 'c':
|
case 'c':
|
||||||
cipher = optarg;
|
cipher = optarg;
|
||||||
|
Reference in New Issue
Block a user