aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2022-08-17 14:08:30 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2022-08-17 14:08:30 +0000
commit490a253033c75adab5b354191e13f599a528b964 (patch)
treef2e36581f938fbb3164b418c8808d28026109e7b
parent4aa33b8415775a03f58acdf68fb5d085e19c5824 (diff)
broadband-modem-mbim: remove unused variables
mm-broadband-modem-mbim.c:8525:30: warning: unused variable 'message' [-Wunused-variable] g_autoptr(MbimMessage) message = NULL; ^ mm-broadband-modem-mbim.c:8582:29: warning: unused variable 'message' [-Wunused-variable] g_autoptr(MbimMessage) message = NULL; ^
-rw-r--r--src/mm-broadband-modem-mbim.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c
index 602415d6..8cb0f726 100644
--- a/src/mm-broadband-modem-mbim.c
+++ b/src/mm-broadband-modem-mbim.c
@@ -8508,7 +8508,6 @@ query_device_slot_mappings_ready (MbimDevice *device,
MMBroadbandModemMbim *self;
g_autoptr(MbimMessage) response = NULL;
GError *error = NULL;
- g_autoptr(MbimMessage) message = NULL;
guint32 map_count = 0;
g_autoptr(MbimSlotArray) slot_mappings = NULL;
LoadSimSlotsContext *ctx;
@@ -8565,7 +8564,6 @@ query_device_caps_ready (MbimDevice *device,
MMBroadbandModemMbim *self;
g_autoptr(MbimMessage) response = NULL;
GError *error = NULL;
- g_autoptr(MbimMessage) message = NULL;
guint32 executor_index;
self = g_task_get_source_object (task);