avoid accessing uninitialized data and triggering bogus memcheck output

This commit is contained in:
Axel Kohlmeyer
2022-01-29 18:12:15 -05:00
parent 7b3adb3f1a
commit c464c40d67

View File

@ -81,6 +81,7 @@ TEST_F(DumpCfgTest, write_dump)
auto fields = "mass type xs ys zs id proc procp1 x y z ix iy iz vx vy vz fx fy fz";
BEGIN_HIDE_OUTPUT();
command("run 0 post no");
command(std::string("write_dump all cfg dump_cfg.melt.cfg ") + fields);
command(std::string("write_dump all cfg dump_cfg*.melt.cfg ") + fields);
END_HIDE_OUTPUT();