1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-20 18:13:44 +02:00

fixed compiler warning

This commit is contained in:
Oliver Hahn 2022-11-10 19:59:22 +01:00
parent 0c0b7086e7
commit a6e148ed00

View file

@ -212,7 +212,7 @@ void grafic2_output_plugin::write_grid_data(const Grid_FFT<real_t> &g, const cos
unlink(file_name.c_str());
}
std::ofstream *pofs;
std::ofstream *pofs = nullptr;
// write header or seek to end of file
if (CONFIG::MPI_task_rank == 0)