From fbfa4f0b86bca5ab282babd9161a07fe01bab356 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 16 Jun 2005 19:51:45 +0000 Subject: [PATCH] Fixed uninitialized variable. --- src/utility/filteredStream.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utility/filteredStream.cpp b/src/utility/filteredStream.cpp index 57e17634..5bbb1b18 100644 --- a/src/utility/filteredStream.cpp +++ b/src/utility/filteredStream.cpp @@ -29,7 +29,7 @@ namespace utility { // dotFilteredInputStream dotFilteredInputStream::dotFilteredInputStream(inputStream& is) - : m_stream(is) + : m_stream(is), m_previousChar2('\0'), m_previousChar1('\0') { } @@ -117,7 +117,7 @@ const stream::size_type dotFilteredInputStream::skip(const size_type /* count */ // dotFilteredOutputStream dotFilteredOutputStream::dotFilteredOutputStream(outputStream& os) - : m_stream(os) + : m_stream(os), m_previousChar('\0') { } @@ -163,7 +163,7 @@ void dotFilteredOutputStream::write // CRLFToLFFilteredOutputStream CRLFToLFFilteredOutputStream::CRLFToLFFilteredOutputStream(outputStream& os) - : m_stream(os) + : m_stream(os), m_previousChar('\0') { }