Initialize subsize explicitly

This is added to avoid crash on some platforms.
This commit is contained in:
jianlijianli 2018-10-09 10:14:08 -07:00 committed by GitHub
parent cddf3833fd
commit 7d72a4e2e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ kiss_fftr_cfg kiss_fftr_alloc(int nfft,int inverse_fft,void * mem,size_t * lenme
{
int i;
kiss_fftr_cfg st = NULL;
size_t subsize, memneeded;
size_t subsize = 0, memneeded;
if (nfft & 1) {
fprintf(stderr,"Real FFT optimization must be even.\n");