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;
        |                ^~~~~~~~~~~~~
This commit is contained in:
Aleksander Morgado
2021-09-07 11:17:57 +02:00
parent f8bf6673db
commit ba5ad78ed9

View File

@@ -397,7 +397,6 @@ mm_location_3gpp_new_from_string_variant (GVariant *string,
validate_numeric_string_content ("Cell ID", split[3], TRUE, error) && validate_numeric_string_content ("Cell ID", split[3], TRUE, error) &&
validate_string_length ("Tracking area code", split[4], 0, 8, error) && validate_string_length ("Tracking area code", split[4], 0, 8, error) &&
validate_numeric_string_content ("Tracking area code", split[4], TRUE, error)) { validate_numeric_string_content ("Tracking area code", split[4], TRUE, error)) {
gchar *operator_code;
/* Create new location object */ /* Create new location object */
self = mm_location_3gpp_new (); self = mm_location_3gpp_new ();
/* Join MCC and MNC and ensure they are zero-padded to required widths */ /* Join MCC and MNC and ensure they are zero-padded to required widths */