From 6cea067923240dc92268ffe144d8529ae5961eb7 Mon Sep 17 00:00:00 2001 From: psharda Date: Wed, 26 Jul 2023 22:27:38 +0200 Subject: [PATCH] remove unused vars --- src/hydro_system.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hydro_system.hpp b/src/hydro_system.hpp index 86da237d3..eeeb102f3 100644 --- a/src/hydro_system.hpp +++ b/src/hydro_system.hpp @@ -202,7 +202,6 @@ template auto HydroSystem::maxSignalSpeedLocal(a if constexpr (is_eos_isothermal()) { cs = cs_iso_; } else { - const auto Etot = cons[bx](i, j, k, HydroSystem::energy_index); const auto P = ComputePressure(cons[bx], i, j, k); cs = std::sqrt(HydroSystem::gamma_ * P / rho); } @@ -235,7 +234,6 @@ void HydroSystem::ComputeMaxSignalSpeed(amrex::Array4::gamma_ * P / rho); }