diff --git a/src/fluid/RiemannSolver/MHDsolvers/storeFlux.hpp b/src/fluid/RiemannSolver/MHDsolvers/storeFlux.hpp index c50cadb83..921a312ac 100644 --- a/src/fluid/RiemannSolver/MHDsolvers/storeFlux.hpp +++ b/src/fluid/RiemannSolver/MHDsolvers/storeFlux.hpp @@ -87,9 +87,9 @@ KOKKOS_FORCEINLINE_FUNCTION void K_StoreHLLD( const int i, const int j, const in const IdefixArray3D &aR, const IdefixArray3D &dL, const IdefixArray3D &dR) { - EXPAND( const int Xn = DIR+MX1; , - const int Xt = (DIR == IDIR ? MX2 : MX1); , - const int Xb = (DIR == KDIR ? MX2 : MX3); ) + EXPAND( const int Xn = DIR+MX1; , + const int Xt = (DIR == IDIR ? MX2 : MX1); , + [[maybe_unused]] const int Xb = (DIR == KDIR ? MX2 : MX3); ) // Compute magnetic pressure [[maybe_unused]] real ptR, ptL; @@ -201,7 +201,7 @@ KOKKOS_FORCEINLINE_FUNCTION void K_StoreHLLD( const int i, const int j, const in } #if COMPONENTS > 1 - EXPAND( Et(k,j,i) = -st*(ar*vL[Xt] - al*vR[Xt])*scrh; , + D_EXPAND( Et(k,j,i) = -st*(ar*vL[Xt] - al*vR[Xt])*scrh; , , Eb(k,j,i) = -sb*(ar*vL[Xb] - al*vR[Xb])*scrh; ); #endif