Commit ba1d9fa8 authored by sagnowski's avatar sagnowski
Browse files

Always initialize Overflow flag to zero

parent 4f42d0a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ void cb_shape_fx(
    Word32 L_tmp;
    Word16 tilt, mu;
#ifdef BASOP_NOGLOB
    Flag Overflow;
    Flag Overflow = 0;
#endif /* BASOP_NOGLOB */
    tmp = 0;

+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ Word16 env_stability_fx( /* in Q15 */
    Word16 inv_nb_sfm;

#ifdef BASOP_NOGLOB
    Flag Overflow;
    Flag Overflow = 0;
#endif /* BASOP_NOGLOB */

    IF (core_switching_flag)
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ void mdct_spectrum_denorm_fx(
    Word16 cond_fx;

#ifdef BASOP_NOGLOB
    Flag Overflow;
    Flag Overflow = 0;
#endif /* BASOP_NOGLOB */

    exp_safe = 4; /* safe bit for overflow */
+1 −1
Original line number Diff line number Diff line
@@ -528,7 +528,7 @@ Word32 calc_tilt_bwe_fx( /* o : Tilt in Q24 */
    const Word16 *ptr;
    Word16 exp2;
#ifdef BASOP_NOGLOB
    Flag Overflow;
    Flag Overflow = 0;
#endif /* BASOP_NOGLOB */

    BASOP_SATURATE_WARNING_OFF
+2 −2
Original line number Diff line number Diff line
@@ -2162,7 +2162,7 @@ void ton_ene_est_fx(
    Word16 temp_fx;

#ifdef BASOP_NOGLOB
    Flag Overflow;
    Flag Overflow = 0;
#endif /* BASOP_NOGLOB */

    *QbeL = 3;
@@ -2956,7 +2956,7 @@ Word16 spectrumsmooth_noiseton_fx( /* o : Qss ss_min
    Word16 rand_a_fx[L_FRAME32k];

#ifdef BASOP_NOGLOB
    Flag Overflow;
    Flag Overflow = 0;
#endif /* BASOP_NOGLOB */

    /* pre-prepare random array for float-fix interoperability */
Loading