--- trunk/src/io/DumpWriter.cpp 2014/04/15 12:12:23 1982 +++ trunk/src/io/DumpWriter.cpp 2014/04/15 20:36:19 1983 @@ -737,8 +737,9 @@ namespace OpenMD { } void DumpWriter::writeEor() { - std::ostream* eorStream; - + + std::ostream* eorStream = NULL; + #ifdef IS_MPI if (worldRank == 0) { #endif // is_mpi