Revert "Possible fix for coverity #29375"
[supertux.git] / src / lisp / writer.cpp
index 41854d3..63c5aa7 100644 (file)
 
 #include "lisp/writer.hpp"
 
-#include "physfs/physfs_stream.hpp"
+#include "physfs/ofile_stream.hpp"
 #include "util/log.hpp"
 
 namespace lisp {
 
-Writer::Writer(const std::string& filename)
+Writer::Writer(const std::string& filename) :
+  out(),
+  out_owned(),
+  indent_depth(),
+  lists()
 {
   out = new OFileStream(filename);
   out_owned = true;
@@ -29,7 +33,11 @@ Writer::Writer(const std::string& filename)
   out->precision(10);
 }
 
-Writer::Writer(std::ostream* newout)
+Writer::Writer(std::ostream* newout) :
+  out(),
+  out_owned(),
+  indent_depth(),
+  lists()
 {
   out = newout;
   out_owned = false;