summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/alarm-lib.c9
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;