Remove unused code about test application
[platform/core/api/location-manager.git] / src / locations.c
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