summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsangwan.kwon <sangwan.kwon@samsung.com>2017-02-08 17:54:26 +0900
committersangwan.kwon <sangwan.kwon@samsung.com>2017-02-08 17:54:26 +0900
commitf5b7ddbd5f06f2169edaad53ca70e4107d387d53 (patch)
treebf74a1fb1d9792e60d50b18c3812e5a072e6ad20
parent747ac2d728bba3eb2f2f1a0ecef6a905f64a2e7a (diff)
downloadcert-checker-accepted/tizen_3.0_mobile.tar.gz
cert-checker-accepted/tizen_3.0_mobile.tar.bz2
cert-checker-accepted/tizen_3.0_mobile.zip
* Whole class member should be initialized. Change-Id: I3ed409d84e44f0f4cb90f89842d5b70334171fd2 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
-rw-r--r--src/service/logic.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/service/logic.cpp b/src/service/logic.cpp
index 547d0f7..d762721 100644
--- a/src/service/logic.cpp
+++ b/src/service/logic.cpp
@@ -38,9 +38,10 @@ namespace CCHECKER {
namespace {
struct PkgmgrEvent {
- PkgmgrEvent(uid_t _uid, const char *_pkgid)
- : uid(_uid)
- , pkgid(_pkgid) {}
+ PkgmgrEvent(uid_t _uid, const char *_pkgid) :
+ uid(_uid), pkgid(_pkgid), type(EVENT_INSTALL)
+ {
+ }
inline bool operator==(const PkgmgrEvent &rhs) const
{
@@ -120,6 +121,8 @@ Logic::Logic(void) :
m_is_online_enabled(false),
m_should_exit(false),
m_proxy_connman(NULL),
+ m_reqid_install(-1),
+ m_reqid_uninstall(-1),
m_pc_install(nullptr, nullptr),
m_pc_uninstall(nullptr, nullptr)
{