mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-27 13:21:11 +03:00
packet_crypt: fix unused variable compiler warning
The local `rc` variable here is never set. Fix a warning that is emitted due to `-Wunused-variable`. Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
f827833d82
commit
7a2624dee4
@@ -102,7 +102,6 @@ int ssh_packet_decrypt(ssh_session session,
|
|||||||
size_t encrypted_size)
|
size_t encrypted_size)
|
||||||
{
|
{
|
||||||
struct ssh_cipher_struct *crypto = session->current_crypto->in_cipher;
|
struct ssh_cipher_struct *crypto = session->current_crypto->in_cipher;
|
||||||
int rc;
|
|
||||||
|
|
||||||
if (encrypted_size <= 0) {
|
if (encrypted_size <= 0) {
|
||||||
return SSH_ERROR;
|
return SSH_ERROR;
|
||||||
|
|||||||
Reference in New Issue
Block a user