aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAndrew Lassalle <andrewlassalle@chromium.org>2021-02-02 13:43:16 -0800
committerAndrew Lassalle <andrewlassalle@chromium.org>2021-02-03 09:31:28 -0800
commit52b44aeb4956a223ce9edcb596a896413b4d69fc (patch)
tree5842b16db06c100d2093c4262cdf1eeb2bf98068 /plugins
parent66010ed17e71714f35bb34a66cc53e1102a28651 (diff)
cinterion: remove unused variables
Diffstat (limited to 'plugins')
-rw-r--r--plugins/cinterion/mm-broadband-modem-cinterion.c2
-rw-r--r--plugins/cinterion/mm-modem-helpers-cinterion.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/plugins/cinterion/mm-broadband-modem-cinterion.c b/plugins/cinterion/mm-broadband-modem-cinterion.c
index 35e20334..4986eea5 100644
--- a/plugins/cinterion/mm-broadband-modem-cinterion.c
+++ b/plugins/cinterion/mm-broadband-modem-cinterion.c
@@ -1311,8 +1311,6 @@ set_initial_eps_cfun_mode_load_ready (MMBaseModem *self,
{
GError *error = NULL;
const gchar *response;
- g_autoptr(GRegex) r = NULL;
- g_autoptr(GMatchInfo) match_info = NULL;
SetInitialEpsContext *ctx;
guint mode;
diff --git a/plugins/cinterion/mm-modem-helpers-cinterion.c b/plugins/cinterion/mm-modem-helpers-cinterion.c
index 5ceb4529..05228815 100644
--- a/plugins/cinterion/mm-modem-helpers-cinterion.c
+++ b/plugins/cinterion/mm-modem-helpers-cinterion.c
@@ -1467,7 +1467,6 @@ mm_cinterion_provcfg_response_to_cid (const gchar *response,
{
g_autoptr(GRegex) r = NULL;
g_autoptr(GMatchInfo) match_info = NULL;
- g_autofree GError *inner_error = NULL;
g_autofree gchar *mno = NULL;
r = g_regex_new ("\\^SCFG:\\s*\"MEopMode/Prov/Cfg\",\\s*\"([0-9a-zA-Z]*)\"", 0, 0, NULL);