broadband-modem: remove unused variable

mm-broadband-modem.c:10703:23: warning: unused variable 'cmd' [-Wunused-variable]
      g_autofree gchar *cmd = NULL;
                        ^
This commit is contained in:
Aleksander Morgado
2022-08-17 14:06:03 +00:00
parent f6c1939f5c
commit 4aa33b8415

View File

@@ -10695,14 +10695,13 @@ check_activated_profile_cgact_query_ready (MMBaseModem *self,
GAsyncResult *res,
GTask *task)
{
MM3gppProfile *profile;
const gchar *response;
GError *error = NULL;
GList *pdp_context_active_list = NULL;
GList *l;
gint profile_id;
gboolean activated = FALSE;
g_autofree gchar *cmd = NULL;
MM3gppProfile *profile;
const gchar *response;
GError *error = NULL;
GList *pdp_context_active_list = NULL;
GList *l;
gint profile_id;
gboolean activated = FALSE;
response = mm_base_modem_at_command_finish (MM_BASE_MODEM (self), res, &error);
if (response)