Add missing guard macro 53/45153/1
authorSangyoon Jang <s89.jang@samsung.com>
Mon, 3 Aug 2015 05:35:08 +0000 (14:35 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Mon, 3 Aug 2015 05:35:08 +0000 (14:35 +0900)
Change-Id: I6985e630e97fe2c3d4e3c7030e99e997a0ae4d51
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
alarm-manager.c

index a4be97c..5842bbb 100644 (file)
@@ -2219,8 +2219,10 @@ gboolean alarm_manager_alarm_create_periodic(AlarmManager *obj, GDBusMethodInvoc
        int retval = 0;
        int return_code = ALARMMGR_RESULT_SUCCESS;
        int alarm_id = 0;
+#ifdef _APPFW_FEATURE_ALARM_MANAGER_MODULE_LOG
        char log_tag[ALARMMGR_LOG_TAG_SIZE] = {0,};
        char log_message[ALARMMGR_LOG_MESSAGE_SIZE] = {0,};
+#endif
        bool ret = true;
        uid_t uid;
        int pid;