diff --git a/unsupported/Eigen/src/SparseExtra/UmfPackSupport.h b/unsupported/Eigen/src/SparseExtra/UmfPackSupport.h index d884378d5..f132ad98f 100644 --- a/unsupported/Eigen/src/SparseExtra/UmfPackSupport.h +++ b/unsupported/Eigen/src/SparseExtra/UmfPackSupport.h @@ -248,14 +248,14 @@ template void* numeric = const_cast(dec().numeric()); - int errorCode = 0; + EIGEN_UNUSED int errorCode = 0; for (int j=0; j