mirror of
https://github.com/mborgerding/kissfft.git
synced 2026-08-30 13:57:04 -04:00
Fix Medium Severity Coverity finding:
CWE-563 (Unused value) (https://cwe.mitre.org/data/definitions/563.html)
This commit is contained in:
@@ -377,7 +377,6 @@ void do_file_filter(
|
|||||||
cfg=kiss_fastfir_alloc(imp_resp,n_imp_resp,&nfft,0,0);
|
cfg=kiss_fastfir_alloc(imp_resp,n_imp_resp,&nfft,0,0);
|
||||||
|
|
||||||
/* use length to minimize buffer shift*/
|
/* use length to minimize buffer shift*/
|
||||||
n_samps_buf = 8*4096/sizeof(kffsamp_t);
|
|
||||||
n_samps_buf = nfft + 4*(nfft-n_imp_resp+1);
|
n_samps_buf = nfft + 4*(nfft-n_imp_resp+1);
|
||||||
|
|
||||||
if (verbose) fprintf(stderr,"bufsize=%d\n",(int)(sizeof(kffsamp_t)*n_samps_buf) );
|
if (verbose) fprintf(stderr,"bufsize=%d\n",(int)(sizeof(kffsamp_t)*n_samps_buf) );
|
||||||
|
|||||||
Reference in New Issue
Block a user