Fix static analysis issue 54/305154/3
authorIlho Kim <ilho159.kim@samsung.com>
Mon, 29 Jan 2024 08:46:32 +0000 (17:46 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Mon, 29 Jan 2024 12:07:54 +0000 (21:07 +0900)
commitd6ae29832e5c0ed2c63d90db58f54ad5a1b9df20
tree314f80059498dd103eb7b167e8a39cc1409c7821
parentf42ad69eab72f5d6829cc569f61a704cf3719a10
Fix static analysis issue

Fix uninitialized member variable
Use of auto that causes a copy

Change-Id: I82802ced0e02ca4db7473f929323b28ae4f4d2c4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/pkg_upgrade/src/db_upgrader.cc
src/pkg_upgrade/src/pkg_upgrader.cc