Skip to content

Commit

Permalink
suppress cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkuhn committed Jul 25, 2023
1 parent 2035f3c commit f78e548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/utilities/coarsen-chkpt/CoarsenCheckpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ void CoarsenCheckpt::read_checkpoint_fields_offset(
for (int levsrc = 0; levsrc < nlevels - 1; ++levsrc) {
const int levdst = levsrc + 1;
for (auto* fld : sim().io_manager().checkpoint_fields()) {
auto& field = *fld;
// cppcheck-suppress constVariableReference
auto& field = *fld;
const auto& fab_file = amrex::MultiFabFileFullPrefix(
levsrc, restart_file, level_prefix, field.name());

Expand Down

0 comments on commit f78e548

Please sign in to comment.