Skip to content

Commit

Permalink
EAMxx: fix compilation warning in shoc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed Jan 29, 2025
1 parent 0c39fd3 commit 2244552
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,12 @@ FortranData::Ptr make_standard(const Int shcol, Int nlev, Int num_qtracers) {

// From scream-docs/shoc-port/shocintr.py.
FortranData::Ptr Factory::create (IC ic, Int shcol, Int nlev, Int num_qtracers) {
FortranData::Ptr ret;
switch (ic) {
case standard: return make_standard(shcol, nlev, num_qtracers);
case standard: ret = make_standard(shcol, nlev, num_qtracers); break;
default: EKAT_REQUIRE_MSG(false, "Not an IC: " << ic);
}
return ret;
}

} // namespace ic
Expand Down

0 comments on commit 2244552

Please sign in to comment.