diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-10 20:34:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-10 21:13:01 +0100 |
commit | 11dbe5eede868303dcc7ea4931040adea8ac14c3 (patch) | |
tree | 2e4bec7750966e3d4b182f68bc3c378c5f83961e /sax | |
parent | 4beb6136bd93e7e8c59a94e372a8c1320ed1b3b7 (diff) |
coverity#707979 Uninitialized pointer field
Change-Id: Id41ba6ab2c6f0a43f439c2b45d20d7d76a3cbe82
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/expatwrap/xml2utf.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sax/source/expatwrap/xml2utf.cxx b/sax/source/expatwrap/xml2utf.cxx index 8a13823b98a6..168b3e796dc5 100644 --- a/sax/source/expatwrap/xml2utf.cxx +++ b/sax/source/expatwrap/xml2utf.cxx @@ -350,6 +350,9 @@ void XMLFile2UTFConverter::initializeDecoding() Text2UnicodeConverter::Text2UnicodeConverter( const OString &sEncoding ) + : m_convText2Unicode(NULL) + , m_contextText2Unicode(NULL) + , m_rtlEncoding(RTL_TEXTENCODING_DONTKNOW) { rtl_TextEncoding encoding = rtl_getTextEncodingFromMimeCharset( sEncoding.getStr() ); if( RTL_TEXTENCODING_DONTKNOW == encoding ) |