diff --git a/MathLib/LinAlg/Sparse/amuxCRS.cpp b/MathLib/LinAlg/Sparse/amuxCRS.cpp
index 2674496dd4037effb644c0a89046f8ce391d4ef8..67e1106bea6e4c8a6a04c3efe1a7ea540f30276b 100644
--- a/MathLib/LinAlg/Sparse/amuxCRS.cpp
+++ b/MathLib/LinAlg/Sparse/amuxCRS.cpp
@@ -92,6 +92,7 @@ void amuxCRSParallelPThreads (double a,
 	delete [] thread_param_array;
 	delete [] thread_array;
 #else
+	(void) num_of_pthreads;
 	amuxCRS (a, n, iA, jA, A, x, y);
 #endif
 }