From: Steve Underwood Date: Wed, 30 Apr 2014 06:41:06 +0000 (+0800) Subject: Eliminated another Coverity issue X-Git-Tag: v1.5.12~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21a2e194709f7eaacd0599428c69b641b8bd3856;p=thirdparty%2Ffreeswitch.git Eliminated another Coverity issue --- diff --git a/libs/spandsp/src/t31.c b/libs/spandsp/src/t31.c index 978d099945..d0c42bd84d 100644 --- a/libs/spandsp/src/t31.c +++ b/libs/spandsp/src/t31.c @@ -2118,7 +2118,7 @@ static int restart_modem(t31_state_t *s, int new_modem) s->t38_fe.next_tx_indicator = T38_IND_V21_PREAMBLE; s->t38_fe.current_tx_data_type = T38_DATA_V21; use_hdlc = true; - s->t38_fe.timed_step = (use_hdlc) ? T38_TIMED_STEP_HDLC_MODEM : T38_TIMED_STEP_NON_ECM_MODEM; + s->t38_fe.timed_step = T38_TIMED_STEP_HDLC_MODEM; set_octets_per_data_packet(s, 300); } else