Browse Source

starpufft/src/starpufftx.c: avoid unused parameter warning

Nathalie Furmento 3 years ago
parent
commit
ee84fdf45f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      starpufft/src/starpufftx.c

+ 1 - 0
starpufft/src/starpufftx.c

@@ -438,6 +438,7 @@ STARPUFFT(free)(void *p, size_t dim)
 #ifdef STARPU_USE_CUDA
 	starpu_free_noflag(p, dim);
 #else
+	(void)dim;
 #  ifdef STARPU_HAVE_FFTW
 	_FFTW(free)(p);
 #  else