From eabd92f99a2228acb502efe35bc39d15518821d1 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Sat, 4 May 2024 18:32:21 -0400 Subject: [PATCH] clang-tidy --- source/max_enuc/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/max_enuc/main.cpp b/source/max_enuc/main.cpp index 727ff43..6ddf627 100644 --- a/source/max_enuc/main.cpp +++ b/source/max_enuc/main.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include @@ -38,8 +37,6 @@ void main_main() return; } - int ntime = narg; - const std::string& filename = amrex::get_command_argument(farg); PlotFileData pf(filename); @@ -48,7 +45,7 @@ void main_main() // we need rho, T, X, and enuc - auto ienuc = std::distance(var_names_pf.cbegin(), std::find(var_names_pf.cbegin(), var_names_pf.cend(), "enuc")); + auto ienuc = static_cast(std::distance(var_names_pf.cbegin(), std::find(var_names_pf.cbegin(), var_names_pf.cend(), "enuc"))); int fine_level = pf.finestLevel();