aboutsummaryrefslogtreecommitdiff
path: root/crypto/tls-cipher-suites.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2023-09-22 17:06:43 +0100
committerMarkus Armbruster <armbru@redhat.com>2023-09-29 10:07:20 +0200
commit3cc9fe177f412494f084923149338c51dd232b9b (patch)
tree14f719c24b5c1fe8841d1846f8dc0d9a8b3bebb3 /crypto/tls-cipher-suites.c
parenta082739eb390d2aad679b5efa9afc40cfa2a496d (diff)
crypto: remove shadowed 'ret' variable
Both instances of 'ret' are used to store a gnutls API return code. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20230922160644.438631-2-berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'crypto/tls-cipher-suites.c')
-rw-r--r--crypto/tls-cipher-suites.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/tls-cipher-suites.c b/crypto/tls-cipher-suites.c
index 5e4f597464..d0df4badc0 100644
--- a/crypto/tls-cipher-suites.c
+++ b/crypto/tls-cipher-suites.c
@@ -52,7 +52,6 @@ GByteArray *qcrypto_tls_cipher_suites_get_data(QCryptoTLSCipherSuites *obj,
byte_array = g_byte_array_new();
for (i = 0;; i++) {
- int ret;
unsigned idx;
const char *name;
IANA_TLS_CIPHER cipher;