From 0b67a8412ce19b96be7d804362358ff484f7fd2f Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Sun, 11 Aug 2024 16:24:44 -0700 Subject: [PATCH] address warning --- Utils/hydro_compute_edgestate_and_flux.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Utils/hydro_compute_edgestate_and_flux.cpp b/Utils/hydro_compute_edgestate_and_flux.cpp index db2551831..0797c04b3 100644 --- a/Utils/hydro_compute_edgestate_and_flux.cpp +++ b/Utils/hydro_compute_edgestate_and_flux.cpp @@ -17,7 +17,12 @@ using namespace amrex; namespace { // Limit this function to this file void - ComputeEdgeState (Box const& bx, int ncomp, MFIter& mfi, + ComputeEdgeState (Box const& bx, int ncomp, +#ifdef AMREX_USE_EB + MFIter& mfi, +#else + MFIter& /*mfi*/, +#endif Array4 const& q, Array4 const& qnph, AMREX_D_DECL(Array4 const& face_x,