From 5970e151454e7f9c3815de3b8b854e07037890ee Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 2 Nov 2007 18:02:09 +0000 Subject: [PATCH] unused variable. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6146 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_async.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 2f6835bc66..cd567937ae 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -533,10 +533,8 @@ static switch_bool_t inband_dtmf_generate_callback(switch_media_bug_t *bug, void { switch_inband_dtmf_generate_t *pvt = (switch_inband_dtmf_generate_t *) user_data; switch_frame_t *frame; - switch_channel_t *channel = switch_core_session_get_channel(pvt->session); switch_codec_t *read_codec; - assert(channel != NULL); read_codec = switch_core_session_get_read_codec(pvt->session); switch (type) {