aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/ReducedDiags/ReducedDiags.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-08-08 01:55:13 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-07 16:55:13 -0700
commitfa5dc424956cae58ec910bee49e1b9118fc1feb0 (patch)
tree7c7cb88fb407806235878004d12f1c6d3d9b3274 /Source/Diagnostics/ReducedDiags/ReducedDiags.cpp
parentfb33708501b986922066f332afa76ea8610ba31a (diff)
downloadWarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.tar.gz
WarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.tar.zst
WarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.zip
Clang-tidy CI test: add 4 new readability checks (#4163)
Diffstat (limited to 'Source/Diagnostics/ReducedDiags/ReducedDiags.cpp')
-rw-r--r--Source/Diagnostics/ReducedDiags/ReducedDiags.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/ReducedDiags/ReducedDiags.cpp b/Source/Diagnostics/ReducedDiags/ReducedDiags.cpp
index 38da1feff..77377c7d5 100644
--- a/Source/Diagnostics/ReducedDiags/ReducedDiags.cpp
+++ b/Source/Diagnostics/ReducedDiags/ReducedDiags.cpp
@@ -38,7 +38,7 @@ ReducedDiags::ReducedDiags (std::string rd_name)
pp_rd_name.query("extension", m_extension);
// check if it is a restart run
- std::string restart_chkfile = "";
+ std::string restart_chkfile;
const ParmParse pp_amr("amr");
pp_amr.query("restart", restart_chkfile);
bool IsNotRestart = restart_chkfile.empty();