summaryrefslogtreecommitdiff
path: root/ACE/ace/Read_Buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Read_Buffer.cpp')
-rw-r--r--ACE/ace/Read_Buffer.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/ACE/ace/Read_Buffer.cpp b/ACE/ace/Read_Buffer.cpp
index b11702de11d..544b407f934 100644
--- a/ACE/ace/Read_Buffer.cpp
+++ b/ACE/ace/Read_Buffer.cpp
@@ -32,7 +32,9 @@ ACE_Read_Buffer::dump (void) const
ACE_Read_Buffer::ACE_Read_Buffer (FILE *fp,
bool close_on_delete,
ACE_Allocator *alloc)
- : stream_ (fp),
+ : size_ (0),
+ occurrences_ (0),
+ stream_ (fp),
close_on_delete_ (close_on_delete),
allocator_ (alloc)
{
@@ -45,7 +47,9 @@ ACE_Read_Buffer::ACE_Read_Buffer (FILE *fp,
ACE_Read_Buffer::ACE_Read_Buffer (ACE_HANDLE handle,
bool close_on_delete,
ACE_Allocator *alloc)
- : stream_ (ACE_OS::fdopen (handle, ACE_TEXT ("r"))),
+ : size_ (0),
+ occurrences_ (0),
+ stream_ (ACE_OS::fdopen (handle, ACE_TEXT ("r"))),
close_on_delete_ (close_on_delete),
allocator_ (alloc)
{