diff options
author | jusung son <jusung07.son@samsung.com> | 2018-02-20 11:08:11 +0900 |
---|---|---|
committer | jusung son <jusung07.son@samsung.com> | 2018-02-20 11:08:56 +0900 |
commit | 89caa0864332d2bf5e46f4b54cc1fe9e0f7f1478 (patch) | |
tree | b6704093a8c03df85f55e842c279b9ca71f54ccb | |
parent | 618880d790375e4f0b4b767296f5835f1ca86d6a (diff) | |
download | alarm-manager-89caa0864332d2bf5e46f4b54cc1fe9e0f7f1478.tar.gz alarm-manager-89caa0864332d2bf5e46f4b54cc1fe9e0f7f1478.tar.bz2 alarm-manager-89caa0864332d2bf5e46f4b54cc1fe9e0f7f1478.zip |
Remove unused variables
Change-Id: I24fd319b69e37789470438e9d49a9065c7e014b2
Signed-off-by: jusung son <jusung07.son@samsung.com>
-rwxr-xr-x | src/alarm-lib.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/alarm-lib.c b/src/alarm-lib.c index 1322d1e..7937704 100755 --- a/src/alarm-lib.c +++ b/src/alarm-lib.c @@ -384,9 +384,6 @@ out: static int __alarm_context_init() { - int fd = 0; - int ret = 0; - if (sub_initialized) return ALARMMGR_RESULT_SUCCESS; @@ -459,7 +456,6 @@ static void __bus_get_for_async_api(GObject *source_object, GAsyncResult *res, static int __sub_init() { GError *error = NULL; - int fd = 0; int ret = 0; pthread_mutex_lock(&init_lock); @@ -1061,9 +1057,7 @@ EXPORT_API int alarmmgr_add_alarm_with_localtime(alarm_entry_t *alarm, EXPORT_API int alarmmgr_add_alarm_noti_with_localtime(alarm_entry_t *alarm, notification_h noti, alarm_id_t *alarm_id) { alarm_info_t *alarm_info = NULL; /* = (alarm_info_t*)alarm; */ - const char *operation = NULL; int error_code = 0; - int result; if (alarm == NULL) return ERR_ALARM_INVALID_PARAM; @@ -1226,11 +1220,9 @@ EXPORT_API int alarmmgr_add_alarm_noti(int alarm_type, time_t trigger_at_time, alarm_id_t *alarm_id) { int error_code = 0; - int result; struct timeval current_time; struct tm duetime_tm; alarm_info_t alarm_info; - const char *operation = NULL; if (__alarmmgr_init_appsvc() < 0) { ALARM_MGR_EXCEPTION_PRINT("Unable to initialize dbus!!!\n"); @@ -1304,7 +1296,6 @@ static int _alarmmgr_add_alarm(int alarm_type, char dst_service_name_mod[MAX_SERVICE_NAME_LEN] = { 0 }; int i = 0; int j = 0; - int result; int error_code; struct timeval current_time; struct tm duetime_tm; |