diff --git a/FFTlib/cc1fft.c b/FFTlib/cc1fft.c
index 2fc4e633f144e30aed7a3a0587508d8f668d96a6..c8bb2e6a88be9b20bfe8505b8778cb299af519bd 100644
--- a/FFTlib/cc1fft.c
+++ b/FFTlib/cc1fft.c
@@ -64,8 +64,8 @@ void cc1fft(complex *data, int n, int sign)
 	static DFTI_DESCRIPTOR_HANDLE handle[MAX_NUMTHREADS];
 	static int nprev[MAX_NUMTHREADS];
     MKL_LONG Status;
-	int id;
 #endif
+	int id;
 
 #ifdef _OPENMP
 	id = omp_get_thread_num();