From 5f4bcb1fbe7873cbca390402e61bf1ce48cb0d10 Mon Sep 17 00:00:00 2001 From: "kj7.sung" Date: Mon, 17 Jul 2017 14:13:43 +0900 Subject: [PATCH] Remove unused parameter Change-Id: I86f36b33b42c7ab5ac07ba2ab879e8e554993889 Signed-off-by: kj7.sung --- packaging/capi-location-manager.spec | 2 +- src/locations.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/capi-location-manager.spec b/packaging/capi-location-manager.spec index 0471324..a027471 100644 --- a/packaging/capi-location-manager.spec +++ b/packaging/capi-location-manager.spec @@ -1,6 +1,6 @@ Name: capi-location-manager Summary: A Location Manager library in Tizen Native API -Version: 0.7.8 +Version: 0.7.9 Release: 1 Group: Location/API License: Apache-2.0 diff --git a/src/locations.c b/src/locations.c index eb53c24..5fdab0d 100755 --- a/src/locations.c +++ b/src/locations.c @@ -516,7 +516,7 @@ EXPORT_API int location_manager_create(location_method_e method, location_manage memset(handle, 0, sizeof(location_manager_s)); - handle->object = location_new(_method, FALSE); + handle->object = location_new(_method); if (handle->object == NULL) { //LCOV_EXCL_START LOCATIONS_LOGE("LOCATIONS_ERROR_SERVICE_NOT_AVAILABLE(0x%08x) : fail to location_new", LOCATIONS_ERROR_SERVICE_NOT_AVAILABLE); @@ -560,7 +560,7 @@ EXPORT_API int location_manager_destroy(location_manager_h manager) handle->sig_id[_LOCATION_SIGNAL_ERROR_EMITTED] = 0; //LCOV_EXCL_LINE } - int ret = location_free(handle->object, FALSE); + int ret = location_free(handle->object); if (ret != LOCATIONS_ERROR_NONE) return __convert_error_code(ret); //LCOV_EXCL_LINE -- 2.7.4