Skip to content

Commit

Permalink
clang-tidy unused arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
baperry2 committed Nov 12, 2024
1 parent ff09996 commit d7fffee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Eos/EOS.H
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ element_compositionCHON(int ecompCHON[])

template <>
inline void
atomic_weightsCHON<GammaLaw>(amrex::Real atwCHON[])
atomic_weightsCHON<GammaLaw>(amrex::Real* /*atwCHON[]*/)
{
amrex::Error("atomic_weightsCHON not supported for GammaLaw EOS");
}

template <>
inline void
element_compositionCHON<GammaLaw>(int ecompCHON[])
element_compositionCHON<GammaLaw>(int* /*ecompCHON[]*/)
{
amrex::Error("element_compositionCHON not supported for GammaLaw EOS");
}
Expand All @@ -125,7 +125,7 @@ element_compositionCHON<Manifold>(int* /*ecompCHON[]*/)
template <typename EOSType>
void
speciesNames(
amrex::Vector<std::string>& spn, const EosParm<EOSType>* eparm = nullptr)
amrex::Vector<std::string>& spn, const EosParm<EOSType>* /*eparm*/ = nullptr)
{
CKSYMS_STR(spn);
}
Expand All @@ -141,7 +141,7 @@ speciesNames<Manifold>(
"species names");
}
spn.resize(NUM_SPECIES);
auto* mani_data = eparm->manf_data;
const auto* mani_data = eparm->manf_data;
for (int n = 0; n < MANIFOLD_DIM; n++) {
std::string nametmp = std::string(
&(mani_data->dimnames)[n * mani_data->len_str], mani_data->len_str);
Expand Down

0 comments on commit d7fffee

Please sign in to comment.