mirror of
https://github.com/libssh2/libssh2.git
synced 2025-10-30 12:05:34 +03:00
_libssh2_transport_send: remove dead assignment
'data' isn't accessed beyond this point so there's no need to assign it.
This commit is contained in:
@@ -751,7 +751,6 @@ int _libssh2_transport_send(LIBSSH2_SESSION *session,
|
|||||||
if(rc)
|
if(rc)
|
||||||
return rc; /* compression failure */
|
return rc; /* compression failure */
|
||||||
|
|
||||||
data = p->outbuf;
|
|
||||||
data_len = dest_len + dest2_len; /* use the combined length */
|
data_len = dest_len + dest2_len; /* use the combined length */
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user