Initialize local variable. (-Wmaybe-uninitialized)
Change-Id: I70a8b197feb56924d87d1881e79431feac97150c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
GVariantBuilder *builder = NULL;
GVariant *args = NULL;
struct pkgmgr_client_t *client = (struct pkgmgr_client_t *)pc;
- char *pkgtype;
+ char *pkgtype = NULL;
struct cb_info *cb_info;
if (pc == NULL || pkg_path == NULL) {
GVariantBuilder *builder = NULL;
GVariant *args = NULL;
struct pkgmgr_client_t *client = (struct pkgmgr_client_t *)pc;
- char *pkgtype;
+ char *pkgtype = NULL;
struct cb_info *cb_info;
if (pc == NULL || pkg_path == NULL) {