mirror of
https://github.com/libssh2/libssh2.git
synced 2025-07-29 13:01:14 +03:00
Removed unused var.
This commit is contained in:
@ -93,9 +93,6 @@ int main(int argc, char *argv[])
|
|||||||
int total = 0;
|
int total = 0;
|
||||||
long time_ms;
|
long time_ms;
|
||||||
int spin = 0;
|
int spin = 0;
|
||||||
#if defined(HAVE_IOCTLSOCKET)
|
|
||||||
long flag = 1;
|
|
||||||
#endif
|
|
||||||
off_t got=0;
|
off_t got=0;
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
@ -79,9 +79,6 @@ int main(int argc, char *argv[])
|
|||||||
const char *scppath="/tmp/TEST";
|
const char *scppath="/tmp/TEST";
|
||||||
FILE *local;
|
FILE *local;
|
||||||
int rc;
|
int rc;
|
||||||
#if defined(HAVE_IOCTLSOCKET)
|
|
||||||
long flag = 1;
|
|
||||||
#endif
|
|
||||||
char mem[1024*100];
|
char mem[1024*100];
|
||||||
size_t nread;
|
size_t nread;
|
||||||
char *ptr;
|
char *ptr;
|
||||||
|
@ -54,9 +54,6 @@ int main(int argc, char *argv[])
|
|||||||
const char *sftppath="/tmp/TEST"; /* source path */
|
const char *sftppath="/tmp/TEST"; /* source path */
|
||||||
const char *dest="/tmp/TEST2"; /* destination path */
|
const char *dest="/tmp/TEST2"; /* destination path */
|
||||||
int rc;
|
int rc;
|
||||||
#if defined(HAVE_IOCTLSOCKET)
|
|
||||||
long flag = 1;
|
|
||||||
#endif
|
|
||||||
LIBSSH2_SFTP *sftp_session;
|
LIBSSH2_SFTP *sftp_session;
|
||||||
LIBSSH2_SFTP_HANDLE *sftp_handle;
|
LIBSSH2_SFTP_HANDLE *sftp_handle;
|
||||||
FILE *tempstorage;
|
FILE *tempstorage;
|
||||||
|
@ -44,9 +44,6 @@ int main(int argc, char *argv[])
|
|||||||
const char *password="password";
|
const char *password="password";
|
||||||
const char *sftppath="/tmp/sftp_mkdir_nonblock";
|
const char *sftppath="/tmp/sftp_mkdir_nonblock";
|
||||||
int rc;
|
int rc;
|
||||||
#if defined(HAVE_IOCTLSOCKET)
|
|
||||||
long flag = 1;
|
|
||||||
#endif
|
|
||||||
LIBSSH2_SFTP *sftp_session;
|
LIBSSH2_SFTP *sftp_session;
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
@ -92,9 +92,6 @@ int main(int argc, char *argv[])
|
|||||||
int total = 0;
|
int total = 0;
|
||||||
long time_ms;
|
long time_ms;
|
||||||
int spin = 0;
|
int spin = 0;
|
||||||
#if defined(HAVE_IOCTLSOCKET)
|
|
||||||
long flag = 1;
|
|
||||||
#endif
|
|
||||||
LIBSSH2_SFTP *sftp_session;
|
LIBSSH2_SFTP *sftp_session;
|
||||||
LIBSSH2_SFTP_HANDLE *sftp_handle;
|
LIBSSH2_SFTP_HANDLE *sftp_handle;
|
||||||
|
|
||||||
|
@ -82,9 +82,6 @@ int main(int argc, char *argv[])
|
|||||||
const char *loclfile="sftp_write_nonblock.c";
|
const char *loclfile="sftp_write_nonblock.c";
|
||||||
const char *sftppath="/tmp/sftp_write_nonblock.c";
|
const char *sftppath="/tmp/sftp_write_nonblock.c";
|
||||||
int rc;
|
int rc;
|
||||||
#if defined(HAVE_IOCTLSOCKET)
|
|
||||||
long flag = 1;
|
|
||||||
#endif
|
|
||||||
FILE *local;
|
FILE *local;
|
||||||
LIBSSH2_SFTP *sftp_session;
|
LIBSSH2_SFTP *sftp_session;
|
||||||
LIBSSH2_SFTP_HANDLE *sftp_handle;
|
LIBSSH2_SFTP_HANDLE *sftp_handle;
|
||||||
|
@ -44,9 +44,6 @@ int main(int argc, char *argv[])
|
|||||||
const char *password="password";
|
const char *password="password";
|
||||||
const char *sftppath="/tmp/secretdir";
|
const char *sftppath="/tmp/secretdir";
|
||||||
int rc;
|
int rc;
|
||||||
#if defined(HAVE_IOCTLSOCKET)
|
|
||||||
long flag = 1;
|
|
||||||
#endif
|
|
||||||
LIBSSH2_SFTP *sftp_session;
|
LIBSSH2_SFTP *sftp_session;
|
||||||
LIBSSH2_SFTP_HANDLE *sftp_handle;
|
LIBSSH2_SFTP_HANDLE *sftp_handle;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user