Skip to content

Commit

Permalink
add a deprecation notice to kiss_fft_cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Ponza committed Apr 19, 2020
1 parent 55d77ed commit 1668eaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion common/include/pcl/common/fft/kiss_fft.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ kiss_fft_stride(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout,int
Cleans up some memory that gets managed internally. Not necessary to call, but it might clean up
your compiler output to call this before you exit.
*/
PCL_DEPRECATED(1, 13, "This function does nothing, you can safely not use it.")
void PCL_EXPORTS
kiss_fft_cleanup(void);
kiss_fft_cleanup(void) {};

/*
* Returns the smallest integer k, such that k>=n and k has only "fast" factors (2,3,5)
Expand Down
6 changes: 0 additions & 6 deletions common/src/fft/kiss_fft.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,12 +395,6 @@ void kiss_fft(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout)
kiss_fft_stride(cfg,fin,fout,1);
}


void kiss_fft_cleanup(void)
{
// nothing needed any more
}

int kiss_fft_next_fast_size(int n)
{
while(1) {
Expand Down

0 comments on commit 1668eaa

Please sign in to comment.