1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +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:
ski
2013-11-14 11:08:41 +04:00
committed by bugmaster
parent e79a94b9a5
commit c24d401753
78 changed files with 285 additions and 102 deletions

View File

@@ -214,7 +214,9 @@ static Standard_Boolean ValidArgs(const TNaming_ListOfNamedShape& Args)
//purpose :
//=======================================================================
TNaming_Name::TNaming_Name():myIndex(-1)
TNaming_Name::TNaming_Name() :
myType(TNaming_UNKNOWN),
myIndex(-1)
{
}