From c9f7a42e71518ac3220e0b7e19355bf401da3b17 Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Tue, 2 Apr 2024 10:36:05 -0700 Subject: [PATCH] remove unused --- src/derive/incflo_derive.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/derive/incflo_derive.cpp b/src/derive/incflo_derive.cpp index fa6cc19f..7c312c14 100644 --- a/src/derive/incflo_derive.cpp +++ b/src/derive/incflo_derive.cpp @@ -150,6 +150,8 @@ void incflo::ComputeMagVel (int lev, Real /*time*/, MultiFab& magvel, MultiFab c #ifdef AMREX_USE_EB const auto& fact = EBFactory(lev); const auto& flags_mf = fact.getMultiEBCellFlagFab(); +#else + amrex::ignore_unused(lev); #endif #ifdef _OPENMP @@ -307,6 +309,8 @@ void incflo::ComputeMagVel (int lev, Real /*time*/, MultiFab& magvel, MultiFab c #ifdef AMREX_USE_EB const auto& fact = EBFactory(lev); const auto& flags_mf = fact.getMultiEBCellFlagFab(); +#else + amrex::ignore_unused(lev); #endif #ifdef _OPENMP