aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-3gpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/mmcli-modem-3gpp.c')
-rw-r--r--cli/mmcli-modem-3gpp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/mmcli-modem-3gpp.c b/cli/mmcli-modem-3gpp.c
index 234fdf83..21031d66 100644
--- a/cli/mmcli-modem-3gpp.c
+++ b/cli/mmcli-modem-3gpp.c
@@ -154,7 +154,7 @@ mmcli_modem_3gpp_options_enabled (void)
}
static void
-context_free (Context *ctx)
+context_free (void)
{
if (!ctx)
return;
@@ -207,7 +207,7 @@ ensure_modem_3gpp_ussd (void)
void
mmcli_modem_3gpp_shutdown (void)
{
- context_free (ctx);
+ context_free ();
}
static void
@@ -624,7 +624,6 @@ mmcli_modem_3gpp_run_synchronous (GDBusConnection *connection)
/* Request to set initial EPS bearer properties? */
if (set_initial_eps_bearer_settings_str) {
- GError *error = NULL;
gboolean result;
MMBearerProperties *config;