diff options
Diffstat (limited to 'tests/wps-test.c')
-rw-r--r-- | tests/wps-test.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/wps-test.c b/tests/wps-test.c index bd49060..1bd753e 100644 --- a/tests/wps-test.c +++ b/tests/wps-test.c @@ -68,7 +68,6 @@ cb_service_enabled (GObject *self, LocationAccuracy *acc = NULL; LocationPosition *pos = NULL; LocationVelocity *vel = NULL; - LocationAddress *addr = NULL; if (LOCATION_ERROR_NONE == location_get_position (loc, &pos, &acc)) { g_debug ("SYNC>> Current position> time: %d, lat: %f, long: %f, alt: %f, status: %d", @@ -86,13 +85,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"); } static void |