From a291cfbdfc909bff21e316c883c656ee91c5855f Mon Sep 17 00:00:00 2001 From: dyamy-lee Date: Thu, 19 Sep 2024 19:56:39 +0900 Subject: [PATCH] Removed the variable 'credential' which is passed to __wait_synthesis() This patch removed passing 'credential' to __wait_synthesis() function, because it is not used in there. Change-Id: I56b108d1709d8642e50465ad1ca11ff21666d43f --- server/ttsd_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/ttsd_server.c b/server/ttsd_server.c index 494d47c3..122fe9a3 100644 --- a/server/ttsd_server.c +++ b/server/ttsd_server.c @@ -179,7 +179,7 @@ static void __synthesis(unsigned int uid) if (speak_data->is_silent) { ttsd_data_set_synth_control(TTSD_SYNTHESIS_CONTROL_DOING); if (__generate_silent(speak_data->duration_in_msec)) { - g_wait_timer = ecore_timer_add(0.05, __wait_synthesis, (void*)credential); + g_wait_timer = ecore_timer_add(0.05, __wait_synthesis, NULL); } else { SLOG(LOG_ERROR, tts_tag(), "[Server ERROR] * FAIL to make GENERATE silent !!!! * "); @@ -226,7 +226,7 @@ static void __synthesis(unsigned int uid) ttsd_data_set_synth_control(TTSD_SYNTHESIS_CONTROL_DONE); __stop_and_send_ready_state(uid); } else { - g_wait_timer = ecore_timer_add(0.05, __wait_synthesis, (void*)credential); + g_wait_timer = ecore_timer_add(0.05, __wait_synthesis, NULL); } if (ttsd_data_get_synth_control() == TTSD_SYNTHESIS_CONTROL_DOING && ttsd_state_get_state() == TTSD_STATE_READY) { -- 2.34.1