projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix static analyzer issues
[platform/core/appfw/pkgmgr-info.git]
/
src
/
pkgmgrinfo_db.c
diff --git
a/src/pkgmgrinfo_db.c
b/src/pkgmgrinfo_db.c
index
b6134d0
..
453b5bc
100644
(file)
--- a/
src/pkgmgrinfo_db.c
+++ b/
src/pkgmgrinfo_db.c
@@
-183,7
+183,7
@@
static char *_get_db_path(uid_t uid)
static int __attach_and_create_view(sqlite3 *handle, const char *db, const char *tables[], uid_t uid)
{
int i;
- char *err;
+ char *err
= NULL
;
char query[MAX_QUERY_LEN];
if (uid != GLOBAL_USER && uid != ROOT_UID) {