Fix code to initialize variable for every loop 06/216606/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 29 Oct 2019 09:54:23 +0000 (18:54 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 29 Oct 2019 09:54:23 +0000 (18:54 +0900)
commitf66ff02ef1c2ae3b8d6efcf655a2cc21d846ea5f
treee48d43096c50aad7bc3b62520eaf0f3b599bc693
parent143da9090cc1595c7786239b9737cbfae7277b44
Fix code to initialize variable for every loop

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>
src/pkg_upgrade.c