From 21a2e194709f7eaacd0599428c69b641b8bd3856 Mon Sep 17 00:00:00 2001 From: Steve Underwood Date: Wed, 30 Apr 2014 14:41:06 +0800 Subject: [PATCH] Eliminated another Coverity issue --- libs/spandsp/src/t31.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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