From c89d7a766299fe6827ac4c1109c7bfcedc2db015 Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Mon, 26 Dec 2016 10:51:46 +0900 Subject: [PATCH] Remove svace warning Change-Id: I5d332968130637b94f6605fd1cdf8e9629fdd926 Signed-off-by: Hyunjee Kim --- setting-appmgr/src/setting-appmgr-pkginfo-utils.c | 7 +++---- 1 file 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) -- 2.34.1