mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
declared filename before use
This commit is contained in:
parent
e14de1600a
commit
1b6a341878
2 changed files with 2 additions and 0 deletions
|
|
@ -577,6 +577,7 @@ void write_tallies()
|
|||
return;
|
||||
|
||||
// Set filename for tallies_out
|
||||
std::string filename;
|
||||
filename = fmt::format("{}tallies.out", settings::path_output);
|
||||
|
||||
// Open the tallies.out file.
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ void write_summary()
|
|||
write_message("Writing summary.h5 file...", 5);
|
||||
|
||||
// Set filename for summary file
|
||||
std::string filename;
|
||||
filename = fmt::format("{}summary.h5", settings::path_output);
|
||||
|
||||
// Create a new file using default properties.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue