mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -154,7 +154,12 @@ PeriodicInterval PeriodicInterval::SecondIntersection(PeriodicInterval& PInter)
|
||||
return(PeriodicInterval(a,b));
|
||||
}
|
||||
//----------------------------------------------------------------------
|
||||
Interval::Interval() { IsNull=Standard_True; }
|
||||
Interval::Interval() :
|
||||
Binf(0.),
|
||||
Bsup(0.),
|
||||
HasFirstBound(Standard_False),
|
||||
HasLastBound(Standard_False)
|
||||
{ IsNull=Standard_True; }
|
||||
|
||||
Interval::Interval(const Standard_Real a,const Standard_Real b) {
|
||||
HasFirstBound=HasLastBound=Standard_True;
|
||||
|
Reference in New Issue
Block a user