Remove unused parameter 42/139042/1 accepted/tizen/unified/20170718.174015 submit/tizen/20170717.080446
authorkj7.sung <kj7.sung@samsung.com>
Mon, 17 Jul 2017 05:13:43 +0000 (14:13 +0900)
committerkj7.sung <kj7.sung@samsung.com>
Mon, 17 Jul 2017 05:13:43 +0000 (14:13 +0900)
Change-Id: I86f36b33b42c7ab5ac07ba2ab879e8e554993889
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
packaging/capi-location-manager.spec
src/locations.c

index 0471324..a027471 100644 (file)
@@ -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
index eb53c24..5fdab0d 100755 (executable)
@@ -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