summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-12 10:45:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-12 11:02:18 +0000
commit5d71f829597afb27a3cb6238e6f1a80b36527710 (patch)
tree62b78cde12426b46fd293a90cdec2a36cdd0bbe2 /io
parent51f85041ef84d2a66f316fc5284d65260d1ef440 (diff)
coverity#707937 Uninitialized pointer field
Change-Id: I25b92686b08137a5292de620d4e348019c21a739
Diffstat (limited to 'io')
-rw-r--r--io/source/TextOutputStream/TextOutputStream.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx
index 7754ec5aa1fa..5a388d16bd1b 100644
--- a/io/source/TextOutputStream/TextOutputStream.cxx
+++ b/io/source/TextOutputStream/TextOutputStream.cxx
@@ -97,8 +97,10 @@ public:
};
OTextOutputStream::OTextOutputStream()
+ : mbEncodingInitialized(false)
+ , mConvUnicode2Text(NULL)
+ , mContextUnicode2Text(NULL)
{
- mbEncodingInitialized = false;
}
OTextOutputStream::~OTextOutputStream()