Change-Id: I33a4e613086f05d737103823f33e64dcd0e81e7c
int cal_server_account_init(void)
{
if (TIZEN_PROFILE_TV)
- return;
+ return 0;
int ret = 0;
int contact_id = 0;
contacts_record_get_int(updated, _contacts_contact_updated_info.contact_id, &contact_id);
- int status;
+ int status = 0;
contacts_record_get_int(updated, _contacts_contact_updated_info.type, &status);
int *delete_array = NULL;
static inline int __remake_db_file(void)
{
int ret;
- char *errmsg;
- sqlite3 *db;
+ char *errmsg = NULL;
+ sqlite3 *db = NULL;
ret = db_util_open(CAL_DB_FILE, &db, 0);
if (SQLITE_OK != ret) {