diff options
-rw-r--r-- | setting-appmgr/src/setting-appmgr-pkginfo-utils.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/setting-appmgr/src/setting-appmgr-pkginfo-utils.c b/setting-appmgr/src/setting-appmgr-pkginfo-utils.c index 07d49cc..5683b56 100644 --- a/setting-appmgr/src/setting-appmgr-pkginfo-utils.c +++ b/setting-appmgr/src/setting-appmgr-pkginfo-utils.c @@ -331,8 +331,6 @@ static UNUSED int _appmgrUg_pkg_get_pkg_size(int req_id, const char *pkg_type, static inline void appmgrUg_pkg_get_pkg_size(appmgr_pkginfo *info) { - int ret; - ret_if(NULL == info); if (info->pc_size) @@ -344,11 +342,12 @@ static inline void appmgrUg_pkg_get_pkg_size(appmgr_pkginfo *info) return; } /* + int ret = 0; @FIX ME add correct callback handler for this pkgmgr call - ret = pkgmgr_client_get_size(info->pc_size, info->pkgid, PM_GET_TOTAL_SIZE, + ret = pkgmgr_client_get_size(info->pc_size, info->pkgid, PM_GET_TOTAL_SIZE, NULL, info); - */ warn_if(ret, "pkgmgr_client_get_size(%s) Fail(%d)", info->pkgid, ret); + */ } static void _get_cache_cb(const char *package_id, const package_size_info_h size_info, void *data) |