From ba5ad78ed981c873592ac529978f4c77a7e6ee1a Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 7 Sep 2021 11:17:57 +0200 Subject: libmm-glib,location-3gpp: remove unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../libmm-glib/mm-location-3gpp.c: In function ‘mm_location_3gpp_new_from_string_variant’: ../libmm-glib/mm-location-3gpp.c:400:16: warning: unused variable ‘operator_code’ [-Wunused-variable] 400 | gchar *operator_code; | ^~~~~~~~~~~~~ --- libmm-glib/mm-location-3gpp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libmm-glib/mm-location-3gpp.c b/libmm-glib/mm-location-3gpp.c index 1bca53f1e..ac9a8e20f 100644 --- a/libmm-glib/mm-location-3gpp.c +++ b/libmm-glib/mm-location-3gpp.c @@ -397,7 +397,6 @@ mm_location_3gpp_new_from_string_variant (GVariant *string, validate_numeric_string_content ("Cell ID", split[3], TRUE, error) && validate_string_length ("Tracking area code", split[4], 0, 8, error) && validate_numeric_string_content ("Tracking area code", split[4], TRUE, error)) { - gchar *operator_code; /* Create new location object */ self = mm_location_3gpp_new (); /* Join MCC and MNC and ensure they are zero-padded to required widths */ -- cgit v1.2.1