remove meaningless multiplication

value never read
This commit is contained in:
derselbst 2017-11-18 21:43:21 +01:00
parent 02d5ce331c
commit 1bd85ffba7

View file

@ -99,7 +99,6 @@ fluid_iir_filter_apply(fluid_iir_filter_t* iir_filter,
/* Compensate history to avoid the filter going havoc with large frequency changes */ /* Compensate history to avoid the filter going havoc with large frequency changes */
if (iir_filter->compensate_incr && fabs(dsp_b02) > 0.001) { if (iir_filter->compensate_incr && fabs(dsp_b02) > 0.001) {
fluid_real_t compensate = old_b02 / dsp_b02; fluid_real_t compensate = old_b02 / dsp_b02;
dsp_centernode *= compensate;
dsp_hist1 *= compensate; dsp_hist1 *= compensate;
dsp_hist2 *= compensate; dsp_hist2 *= compensate;
} }