mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023947: Eliminate trivial compiler warnings in MSVC++ with warning level 4
Fix first subset of warnings (about 100) - while(1) and similar constructs replaced by for(;;) - some uninitialized variables corrected Got rid of Warning C4189: local variable is initialised but not referenced Corrected mistakes after getting rid of C4189 compiler warning Corrected some mistakes that led to compiling errors Fixed test case because of improvement message - removed unnecessary TODO. Small fix: tabs have been replaced with whitespaces. Added TODO for Windows platform removed last TODO Corrected mistakes, returned some #ifdef DEB code, fixed test case . Restoring a few places which have been modified too much Small grammar fix Deleted unnecessary puts in bugs/end
This commit is contained in:
@@ -63,7 +63,7 @@ Standard_Boolean StepShape_OrientedClosedShell::Orientation() const
|
||||
return orientation;
|
||||
}
|
||||
|
||||
void StepShape_OrientedClosedShell::SetCfsFaces(const Handle(StepShape_HArray1OfFace)& aCfsFaces)
|
||||
void StepShape_OrientedClosedShell::SetCfsFaces(const Handle(StepShape_HArray1OfFace)& /*aCfsFaces*/)
|
||||
{
|
||||
// WARNING : the field is redefined.
|
||||
// field set up forbidden.
|
||||
|
@@ -63,7 +63,7 @@ Standard_Boolean StepShape_OrientedFace::Orientation() const
|
||||
return orientation;
|
||||
}
|
||||
|
||||
void StepShape_OrientedFace::SetBounds(const Handle(StepShape_HArray1OfFaceBound)& aBounds)
|
||||
void StepShape_OrientedFace::SetBounds(const Handle(StepShape_HArray1OfFaceBound)& /*aBounds*/)
|
||||
{
|
||||
// WARNING : the field is redefined.
|
||||
// field set up forbidden.
|
||||
|
@@ -63,7 +63,7 @@ Standard_Boolean StepShape_OrientedOpenShell::Orientation() const
|
||||
return orientation;
|
||||
}
|
||||
|
||||
void StepShape_OrientedOpenShell::SetCfsFaces(const Handle(StepShape_HArray1OfFace)& aCfsFaces)
|
||||
void StepShape_OrientedOpenShell::SetCfsFaces(const Handle(StepShape_HArray1OfFace)& /*aCfsFaces*/)
|
||||
{
|
||||
// WARNING : the field is redefined.
|
||||
// field set up forbidden.
|
||||
|
Reference in New Issue
Block a user