From: Suyeon Hwang Date: Wed, 16 Jun 2021 05:53:43 +0000 (+0900) Subject: Remove unused parameter 'before_state' X-Git-Tag: submit/tizen/20210628.060348~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=effdd1ca9a327c9c196552005257d018b10392e1;p=platform%2Fcore%2Fuifw%2Ftts.git Remove unused parameter 'before_state' Change-Id: I17ee21cbca9c558fb8ec2d71686c135913914a61 Signed-off-by: Suyeon Hwang --- diff --git a/client/tts_core.c b/client/tts_core.c index 026b2d79..185a8c77 100644 --- a/client/tts_core.c +++ b/client/tts_core.c @@ -769,7 +769,7 @@ int tts_core_notify_state_changed(tts_client_s* client, tts_state_e current_stat return TTS_ERROR_NONE; } -int tts_core_notify_state_changed_async(tts_client_s* client, tts_state_e before_state, tts_state_e current_state) +int tts_core_notify_state_changed_async(tts_client_s* client, tts_state_e current_state) { if (false == tts_client_is_valid_client(client)) { SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Handle is not valid."); @@ -1029,7 +1029,7 @@ int tts_core_receive_hello(int uid, int ret, int credential_needed) } } - tts_core_notify_state_changed_async(client, current_state, TTS_STATE_READY); + tts_core_notify_state_changed_async(client, TTS_STATE_READY); SLOG(LOG_DEBUG, TAG_TTSC, "@@@"); return TTS_ERROR_NONE; diff --git a/client/tts_core.h b/client/tts_core.h index 33a30a55..fe9adcef 100644 --- a/client/tts_core.h +++ b/client/tts_core.h @@ -23,7 +23,7 @@ extern "C" { // common function int tts_core_notify_state_changed(tts_client_s* client, tts_state_e current_state); -int tts_core_notify_state_changed_async(tts_client_s* client, tts_state_e before_state, tts_state_e current_state); +int tts_core_notify_state_changed_async(tts_client_s* client, tts_state_e current_state); int tts_core_notify_utt_started(tts_client_s* client, int utt_id); int tts_core_notify_utt_completeted(tts_client_s* client, int utt_id); int tts_core_notify_error_async(tts_client_s* client, tts_error_e reason, int utt_id, const char* err_msg); diff --git a/client/tts_dbus.c b/client/tts_dbus.c index 9b0a21b6..4613acfd 100644 --- a/client/tts_dbus.c +++ b/client/tts_dbus.c @@ -50,7 +50,7 @@ static int __tts_cb_set_state(int uid, int state) return 0; } - tts_core_notify_state_changed_async(client, current_state, state_from_daemon); + tts_core_notify_state_changed_async(client, state_from_daemon); return 0; } diff --git a/client/tts_tidl.c b/client/tts_tidl.c index e20f3275..b0ed3ac8 100644 --- a/client/tts_tidl.c +++ b/client/tts_tidl.c @@ -35,7 +35,7 @@ static int __tts_cb_set_state(int uid, int state) return 0; } - tts_core_notify_state_changed_async(client, current_state, state_from_daemon); + tts_core_notify_state_changed_async(client, state_from_daemon); return 0; }