Fix build warning 32/183032/1
authorjusung son <jusung07.son@samsung.com>
Mon, 2 Jul 2018 01:15:02 +0000 (10:15 +0900)
committerjusung son <jusung07.son@samsung.com>
Mon, 2 Jul 2018 01:15:02 +0000 (10:15 +0900)
Change-Id: I15d425a05864aeb8332487df7fc22fc6b9329094
Signed-off-by: jusung son <jusung07.son@samsung.com>
src/badge_setting_service.c

index b559f9d..177a900 100755 (executable)
@@ -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;