diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-09-07 11:17:57 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-09-07 10:55:43 +0000 |
commit | ba5ad78ed981c873592ac529978f4c77a7e6ee1a (patch) | |
tree | efeae1a436307dcbd67e5f6e38017cf671e69eaa | |
parent | f8bf6673dbff37156447c0f6d072da784031b11c (diff) | |
download | ModemManager-ba5ad78ed981c873592ac529978f4c77a7e6ee1a.tar.gz |
libmm-glib,location-3gpp: remove unused variable
../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;
| ^~~~~~~~~~~~~
-rw-r--r-- | libmm-glib/mm-location-3gpp.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 */ |