1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-31 00:03:07 +03:00

Fix a bunch of -Wmaybe-uninitialized

Reviewed-By: Aris Adamantiadis <aris@0xbadc0de.be>
This commit is contained in:
Fabiano Fidêncio
2015-12-17 14:55:52 +01:00
committed by Aris Adamantiadis
parent 71ce6592e4
commit 0d7da3207f
4 changed files with 6 additions and 6 deletions

View File

@ -45,7 +45,7 @@ int benchmarks_sync_sftp_up (ssh_session session, struct argument_s *args,
float ms=0.0;
unsigned long total=0;
sftp_session sftp;
sftp_file file;
sftp_file file = NULL;
bytes = args->datasize * 1024 * 1024;
sftp = sftp_new(session);
@ -101,7 +101,7 @@ int benchmarks_sync_sftp_down (ssh_session session, struct argument_s *args,
float ms=0.0;
unsigned long total=0;
sftp_session sftp;
sftp_file file;
sftp_file file = NULL;
int r;
bytes = args->datasize * 1024 * 1024;
@ -163,7 +163,7 @@ int benchmarks_async_sftp_down (ssh_session session, struct argument_s *args,
float ms=0.0;
unsigned long total=0;
sftp_session sftp;
sftp_file file;
sftp_file file = NULL;
int r,i;
int warned = 0;
unsigned long toread;