summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjusung son <jusung07.son@samsung.com>2018-07-02 01:15:02 (GMT)
committerjusung son <jusung07.son@samsung.com>2018-07-02 01:15:02 (GMT)
commitdcbde11d1a49db8c517f0d72289069823df2e400 (patch)
tree6685d8cb7b4d92fa747124e8bd4737f8d9cf6281
parent3ba37f04e194951d7f7609ae27c0c54bf6b37063 (diff)
downloadbadge-dcbde11d1a49db8c517f0d72289069823df2e400.zip
badge-dcbde11d1a49db8c517f0d72289069823df2e400.tar.gz
badge-dcbde11d1a49db8c517f0d72289069823df2e400.tar.bz2
Fix build warningrefs/changes/32/183032/1
Change-Id: I15d425a05864aeb8332487df7fc22fc6b9329094 Signed-off-by: jusung son <jusung07.son@samsung.com>
-rwxr-xr-xsrc/badge_setting_service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/badge_setting_service.c b/src/badge_setting_service.c
index b559f9d..177a900 100755
--- a/src/badge_setting_service.c
+++ b/src/badge_setting_service.c
@@ -112,7 +112,7 @@ EXPORT_API int badge_db_get_setting_by_appid(const char *appid, badge_setting_h
char **query_result = NULL;
badge_setting_h result_setting;
sqlite3 *db = NULL;
- int atd;
+ int atd = 0;
if (appid == NULL)
return BADGE_ERROR_INVALID_PARAMETER;
@@ -254,7 +254,7 @@ EXPORT_API int badge_db_get_allow_to_display_by_appid(char *appid, int *allow_to
char *sql_query = NULL;
char **query_result = NULL;
sqlite3 *db = NULL;
- int atd;
+ int atd = 0;
if (appid == NULL)
return BADGE_ERROR_INVALID_PARAMETER;