commit | f89bd3ef68e9c9431af16cd520631ef726ab33d9 | [log] [tgz] |
---|---|---|
author | Dmitry-Me <wipedout@yandex.ru> | Wed Jan 18 18:33:55 2017 +0300 |
committer | Dmitry-Me <wipedout@yandex.ru> | Wed Jan 18 18:33:55 2017 +0300 |
tree | 65b0616eb90e9b439fc3548fe5dd398600aa4d1b | |
parent | 5b733ff4810049d24085c87d989c1d06dcdf8f82 [diff] [blame] |
Initialize member variables
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 018f9a9..e9b275b 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -1961,7 +1961,9 @@ _processEntities( processEntities ), _errorID(XML_SUCCESS), _whitespace( whitespace ), - _charBuffer( 0 ) + _errorLineNum( 0 ), + _charBuffer( 0 ), + _parseCurLineNum( 0 ) { // avoid VC++ C4355 warning about 'this' in initializer list (C4355 is off by default in VS2012+) _document = this;