mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +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:
@@ -28,7 +28,12 @@
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
PPrsStd_AISPresentation::PPrsStd_AISPresentation()
|
||||
PPrsStd_AISPresentation::PPrsStd_AISPresentation() :
|
||||
myIsDisplayed(Standard_False),
|
||||
myTransparency(0.),
|
||||
myColor(0),
|
||||
myMaterial(0),
|
||||
myWidth(0.)
|
||||
{}
|
||||
|
||||
|
||||
|
@@ -26,9 +26,14 @@
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
PPrsStd_AISPresentation_1::PPrsStd_AISPresentation_1()
|
||||
PPrsStd_AISPresentation_1::PPrsStd_AISPresentation_1() :
|
||||
myIsDisplayed(Standard_False),
|
||||
myTransparency(0.),
|
||||
myColor(0),
|
||||
myMaterial(0),
|
||||
myWidth(0.),
|
||||
myMode(0)
|
||||
{
|
||||
myMode=0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user