From 490a253033c75adab5b354191e13f599a528b964 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 17 Aug 2022 14:08:30 +0000 Subject: [PATCH] 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; ^ --- src/mm-broadband-modem-mbim.c | 2 -- 1 file changed, 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);