summaryrefslogtreecommitdiff
path: root/tests/gps-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gps-test.c')
-rw-r--r--tests/gps-test.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/gps-test.c b/tests/gps-test.c
index c36dbf7..6b69b02 100644
--- a/tests/gps-test.c
+++ b/tests/gps-test.c
@@ -69,7 +69,6 @@ cb_service_enabled (GObject *self,
LocationAccuracy *acc = NULL;
LocationPosition *pos = NULL;
LocationVelocity *vel = NULL;
- LocationAddress *addr = NULL;
LocationSatellite *sat = NULL;
gchar *nmea_data = NULL;
int idx = 0;
@@ -90,13 +89,6 @@ cb_service_enabled (GObject *self,
location_velocity_free(vel);
location_accuracy_free(acc);
} else g_warning ("SYNC>> Current velocity> failed");
- if (LOCATION_ERROR_NONE == location_get_address(loc, &addr, &acc)) {
- g_debug ("SYNC>> Current address> %s %s %s %s %s %s %s",
- addr->building_number, addr->street, addr->district, addr->city, addr->state, addr->postal_code, addr->country_code);
- g_debug ("\tAccuracy level %d (%.0f meters %.0f meters)", acc->level, acc->horizontal_accuracy, acc->vertical_accuracy);
- location_address_free(addr);
- location_accuracy_free(acc);
- } else g_warning ("SYNC>> Current address> failed");
g_object_get (loc, "satellite", &sat, NULL);
if (sat) {