shithub: libsamplerate

Download patch

ref: e53f065dafc7e6bd2838f7ce77aabf36223f0f5a
parent: 477ce36f8e4bd6a177727f4ac32eba11864dd85d
author: coypu <coypu@sdf.org>
date: Wed Apr 26 00:01:50 EDT 2017

Remove dead assignment

--- a/src/src_sinc.c
+++ b/src/src_sinc.c
@@ -343,7 +343,6 @@
 	half_filter_chan_len = filter->channels * (lrint (count) + 1) ;
 
 	input_index = psrc->last_position ;
-	float_increment = filter->index_inc ;
 
 	rem = fmod_one (input_index) ;
 	filter->b_current = (filter->b_current + filter->channels * lrint (input_index - rem)) % filter->b_len ;
@@ -492,7 +491,6 @@
 	half_filter_chan_len = filter->channels * (lrint (count) + 1) ;
 
 	input_index = psrc->last_position ;
-	float_increment = filter->index_inc ;
 
 	rem = fmod_one (input_index) ;
 	filter->b_current = (filter->b_current + filter->channels * lrint (input_index - rem)) % filter->b_len ;
@@ -646,7 +644,6 @@
 	half_filter_chan_len = filter->channels * (lrint (count) + 1) ;
 
 	input_index = psrc->last_position ;
-	float_increment = filter->index_inc ;
 
 	rem = fmod_one (input_index) ;
 	filter->b_current = (filter->b_current + filter->channels * lrint (input_index - rem)) % filter->b_len ;
@@ -806,7 +803,6 @@
 	half_filter_chan_len = filter->channels * (lrint (count) + 1) ;
 
 	input_index = psrc->last_position ;
-	float_increment = filter->index_inc ;
 
 	rem = fmod_one (input_index) ;
 	filter->b_current = (filter->b_current + filter->channels * lrint (input_index - rem)) % filter->b_len ;
@@ -1053,7 +1049,6 @@
 	half_filter_chan_len = filter->channels * (lrint (count) + 1) ;
 
 	input_index = psrc->last_position ;
-	float_increment = filter->index_inc ;
 
 	rem = fmod_one (input_index) ;
 	filter->b_current = (filter->b_current + filter->channels * lrint (input_index - rem)) % filter->b_len ;