scp_write: Value stored to 'ptr' is never read

This commit is contained in:
Daniel Stenberg 2010-04-24 12:57:32 +02:00
parent 5804444936
commit 7dfeadef97

View File

@ -180,7 +180,7 @@ int main(int argc, char *argv[])
sent += rc;
}
} while (rc > 0 && sent < nread);
ptr += sent;
nread -= sent;
} while (1);