modem-helpers: remove unused variable in mm_3gpp_parse_cmer_test_response

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
This commit is contained in:
Daniele Palmas
2025-05-19 08:59:00 -05:00
committed by Dan Williams
parent b0589932d7
commit 4da9a26d54
-4
View File
@@ -3590,7 +3590,6 @@ mm_3gpp_parse_cmer_test_response (const gchar *response,
GError *inner_error = NULL;
GArray *array_supported_modes = NULL;
GArray *array_supported_inds = NULL;
gchar *aux = NULL;
gboolean ret = FALSE;
MM3gppCmerMode supported_modes = 0;
MM3gppCmerInd supported_inds = 0;
@@ -3622,12 +3621,10 @@ mm_3gpp_parse_cmer_test_response (const gchar *response,
/* Modes in 1st group */
if (!(array_supported_modes = mm_parse_uint_list (split[0], &inner_error)))
goto out;
g_clear_pointer (&aux, g_free);
/* Ind settings in 4th group */
if (!(array_supported_inds = mm_parse_uint_list (split[3], &inner_error)))
goto out;
g_clear_pointer (&aux, g_free);
for (i = 0; i < array_supported_modes->len; i++) {
guint mode_val;
@@ -3661,7 +3658,6 @@ out:
g_array_unref (array_supported_modes);
if (array_supported_inds)
g_array_unref (array_supported_inds);
g_clear_pointer (&aux, g_free);
g_strfreev (split);