From 7a2624dee44018980a499943f1db044f7a3802f7 Mon Sep 17 00:00:00 2001 From: Jon Simons Date: Fri, 8 Jun 2018 17:32:27 -0400 Subject: [PATCH] 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 Reviewed-by: Andreas Schneider --- src/packet_crypt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/packet_crypt.c b/src/packet_crypt.c index 68103afb..57be946f 100644 --- a/src/packet_crypt.c +++ b/src/packet_crypt.c @@ -102,7 +102,6 @@ int ssh_packet_decrypt(ssh_session session, size_t encrypted_size) { struct ssh_cipher_struct *crypto = session->current_crypto->in_cipher; - int rc; if (encrypted_size <= 0) { return SSH_ERROR;