cleanup some warnings

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@639 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-02-21 15:05:18 +00:00
parent 681d2823e6
commit 2bea53541b
3 changed files with 5 additions and 7 deletions

View File

@@ -552,7 +552,7 @@ SWITCH_DECLARE(switch_status) switch_core_speech_read_tts(switch_speech_handle *
SWITCH_DECLARE(switch_status) switch_core_speech_close(switch_speech_handle *sh, unsigned int *flags)
{
return sh->speech_interface->speech_close(sh);
return sh->speech_interface->speech_close(sh, flags);
}
SWITCH_DECLARE(switch_status) switch_core_timer_init(switch_timer *timer, char *timer_name, int interval, int samples,
@@ -630,11 +630,6 @@ static void *switch_core_service_thread(switch_thread *thread, void *obj)
channel = switch_core_session_get_channel(session);
assert(channel != NULL);
#ifdef WTF
data->running = 0;
return NULL;
#endif
while (data->running > 0) {
switch (switch_core_session_read_frame(session, &read_frame, -1, stream_id)) {
case SWITCH_STATUS_SUCCESS: