Without this change, previous operation type will not be initialized
and it could affect next loop.
Change-Id: Id514928d11b67fbc58d81a92deb3ee0506459e13
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
int total_pkg_cnt = 0;
int compare_result = 0;
- int operation = PKG_NEED_NOTHING;
+ int operation;
bool db_update;
continue;
}
+ operation = PKG_NEED_NOTHING;
compare_result = __compare_pkgid((char *)target_file, pkgid,
version, &db_update);
if (compare_result == PKG_IS_NOT_EXIST) {