projects
/
platform
/
core
/
api
/
notification.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b60eb6a
)
Fix uninitialized value use
47/204747/2
author
hyunho
<hhstark.kang@samsung.com>
Fri, 26 Apr 2019 05:06:32 +0000
(14:06 +0900)
committer
Hyunho Kang
<hhstark.kang@samsung.com>
Fri, 26 Apr 2019 06:51:07 +0000
(06:51 +0000)
Change-Id: I46f4d75ffc78647fbb4c808f94f08cf22a398a67
Signed-off-by: hyunho <hhstark.kang@samsung.com>
notification-ex/db_manager.cc
patch
|
blob
|
history
diff --git
a/notification-ex/db_manager.cc
b/notification-ex/db_manager.cc
index
d2bef28
..
d180077
100644
(file)
--- a/
notification-ex/db_manager.cc
+++ b/
notification-ex/db_manager.cc
@@
-373,7
+373,8
@@
int DBManager::UpdateReceiverList
}
int DBManager::InsertNotification(list<shared_ptr<item::AbstractItem>> addedItem) {
- int ret, count;
+ int ret = ERROR_NONE;
+ int count;
char* query;
sqlite3* db = OpenDB();