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>
This commit is contained in:
Daniel P. Berrangé 2023-09-22 17:06:43 +01:00 committed by Markus Armbruster
parent a082739eb3
commit 3cc9fe177f

View File

@ -52,7 +52,6 @@ GByteArray *qcrypto_tls_cipher_suites_get_data(QCryptoTLSCipherSuites *obj,
byte_array = g_byte_array_new(); byte_array = g_byte_array_new();
for (i = 0;; i++) { for (i = 0;; i++) {
int ret;
unsigned idx; unsigned idx;
const char *name; const char *name;
IANA_TLS_CIPHER cipher; IANA_TLS_CIPHER cipher;