From 57af0da9f77c2353462a027f1fffa930e38d62bb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 1 Nov 2010 22:58:47 +0100 Subject: [PATCH] sftp_write: removed superfluous assignment --- src/sftp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sftp.c b/src/sftp.c index 5187c8c8..9130a5df 100644 --- a/src/sftp.c +++ b/src/sftp.c @@ -1442,8 +1442,6 @@ static ssize_t sftp_write(LIBSSH2_SFTP_HANDLE *handle, const char *buffer, buffer += unacked; count -= unacked; - chunk = _libssh2_list_first(&handle->write_list); - while(count) { /* TODO: Possibly this should have some logic to prevent a very very small fraction to be left but lets ignore that for now */