Fix build warning
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 3 Mar 2021 02:51:19 +0000 (11:51 +0900)
committer연정현/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 <jungh.yeon@samsung.com>
Wed, 3 Mar 2021 04:04:00 +0000 (13:04 +0900)
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pkginfo_internal.c

index a165311..de84f5f 100644 (file)
 #include "pkgmgrinfo_debug.h"
 #include "pkgmgr-info.h"
 
-static void __free_packages(gpointer key, gpointer value,
+static int __free_packages(gpointer key, gpointer value,
                gpointer user_data)
 {
        pkgmgrinfo_basic_free_package((package_x *)value);
+
+       return 0;
 }
 
 static const char join_localized_info[] =