]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Eliminated another Coverity issue
authorSteve Underwood <steveu@coppice.org>
Wed, 30 Apr 2014 06:41:06 +0000 (14:41 +0800)
committerSteve Underwood <steveu@coppice.org>
Wed, 30 Apr 2014 06:41:06 +0000 (14:41 +0800)
libs/spandsp/src/t31.c

index 978d09994595e02805be711373694612b3fa67b0..d0c42bd84d4b08d643495af6f9366ea3196cfea8 100644 (file)
@@ -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