diff --git a/ode/unit_test/Test_ODE_BDF.hpp b/ode/unit_test/Test_ODE_BDF.hpp index 8f8319cb1d..dfee9b62a0 100644 --- a/ode/unit_test/Test_ODE_BDF.hpp +++ b/ode/unit_test/Test_ODE_BDF.hpp @@ -545,7 +545,7 @@ void update_D(const int order, const scalar_type factor, const mat_type& coeffs, template void test_Nordsieck() { using execution_space = Kokkos::HostSpace; - StiffChemistry mySys{}; + [[maybe_unused]] StiffChemistry mySys{}; Kokkos::View R("coeffs", 6, 6), U("coeffs", 6, 6); Kokkos::View D("D", 8, mySys.neqs), tempD("tmp", 8, mySys.neqs);