From 23f02aad11d0f41d50a4cc36484fde5ecfce32a8 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 29 Apr 2010 22:00:05 +0200 Subject: [PATCH] sftpdir: removed dead assignment --- example/sftpdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/sftpdir.c b/example/sftpdir.c index 6e100be9..fc06f5ad 100644 --- a/example/sftpdir.c +++ b/example/sftpdir.c @@ -121,7 +121,7 @@ int main(int argc, char *argv[]) if (auth_pw) { /* We could authenticate via password */ - if ((i = libssh2_userauth_password(session, username, password))) { + if (libssh2_userauth_password(session, username, password)) { printf("Authentication by password failed.\n"); goto shutdown; }