mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024275: Cppcheck warnings on uninitialized class members
Removed warning of cppcheck on uninitialized class members for non-array cases New additional compilation warnings on Windows platform from file OSD_Path.cxx were fixed Warnings about wrong initialization removed
This commit is contained in:
@@ -79,6 +79,7 @@ LDOM_XmlReader::LDOM_XmlReader (const int aFileDes,
|
||||
#endif
|
||||
myError (anErrorString),
|
||||
myDocument (aDocument),
|
||||
myElement (NULL),
|
||||
myPtr (&myBuffer[0]),
|
||||
myEndPtr (&myBuffer[0])
|
||||
{}
|
||||
@@ -96,6 +97,7 @@ LDOM_XmlReader::LDOM_XmlReader (istream& anInput,
|
||||
myIStream (anInput),
|
||||
myError (anErrorString),
|
||||
myDocument (aDocument),
|
||||
myElement (NULL),
|
||||
myPtr (&myBuffer[0]),
|
||||
myEndPtr (&myBuffer[0])
|
||||
{}
|
||||
|
Reference in New Issue
Block a user