aboutsummaryrefslogtreecommitdiff
path: root/src/mm-sms-list.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-04-24 09:42:06 +0200
committerAleksander Morgado <aleksander@aleksander.es>2018-04-24 18:11:15 +0200
commitb39dd2ec05c7db7e5eb12953eadba809aa2b3e8a (patch)
tree90d365b06967befb81983d9bdda7555d47faecbf /src/mm-sms-list.c
parent5072db3418ce5799a75a577612b30de97ca700f0 (diff)
all: drop unused variables
Keeps build with GCC 8 happy. mm-base-call.c:758:18: warning: variable 'response' set but not used [-Wunused-but-set-variable] mm-base-call.c:822:18: warning: variable 'response' set but not used [-Wunused-but-set-variable] mm-base-sms.c:908:18: warning: variable 'response' set but not used [-Wunused-but-set-variable] mm-sms-list.c:331:25: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] mm-iface-modem-messaging.c:1210:21: warning: variable 'storage_ctx' set but not used [-Wunused-but-set-variable] huawei/mm-plugin-huawei.c:183:18: warning: variable 'response' set but not used [-Wunused-but-set-variable] ublox/mm-plugin-ublox.c:161:24: warning: variable 'response' set but not used [-Wunused-but-set-variable] ublox/mm-plugin-ublox.c:159:24: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] icera/mm-modem-helpers-icera.c:218:25: warning: variable 'first_free' set but not used [-Wunused-but-set-variable] novatel/mm-common-novatel.c:50:18: warning: variable 'response' set but not used [-Wunused-but-set-variable]
Diffstat (limited to 'src/mm-sms-list.c')
-rw-r--r--src/mm-sms-list.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mm-sms-list.c b/src/mm-sms-list.c
index 22c2cd9a..8d6aa15b 100644
--- a/src/mm-sms-list.c
+++ b/src/mm-sms-list.c
@@ -328,11 +328,6 @@ mm_sms_list_take_part (MMSmsList *self,
MMSmsStorage storage,
GError **error)
{
- PartIndexAndStorage ctx;
-
- ctx.part_index = mm_sms_part_get_index (part);
- ctx.storage = storage;
-
/* Ensure we don't have already taken a part with the same index */
if (mm_sms_list_has_part (self,
storage,