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:
@@ -251,7 +251,7 @@ void StdPrs_Curve::Add (const Handle (Prs3d_Presentation)& aPresentation,
|
||||
//==================================================================
|
||||
void StdPrs_Curve::Add (const Handle (Prs3d_Presentation)& aPresentation,
|
||||
const Adaptor3d_Curve& aCurve,
|
||||
const Quantity_Length aDeflection,
|
||||
const Quantity_Length /*aDeflection*/,
|
||||
const Handle(Prs3d_Drawer)& aDrawer,
|
||||
TColgp_SequenceOfPnt& Points,
|
||||
const Standard_Boolean drawCurve)
|
||||
@@ -272,7 +272,7 @@ void StdPrs_Curve::Add (const Handle (Prs3d_Presentation)& aPresentation,
|
||||
const Adaptor3d_Curve& aCurve,
|
||||
const Standard_Real U1,
|
||||
const Standard_Real U2,
|
||||
const Quantity_Length aDeflection,
|
||||
const Quantity_Length /*aDeflection*/,
|
||||
TColgp_SequenceOfPnt& Points,
|
||||
const Standard_Integer NbPoints,
|
||||
const Standard_Boolean drawCurve)
|
||||
|
@@ -49,7 +49,6 @@ void StdPrs_WFRestrictedFace::Add
|
||||
const Handle(Prs3d_Drawer)& theDrawer,
|
||||
Prs3d_NListOfSequenceOfPnt& theCurves)
|
||||
{
|
||||
Standard_Real aLimit = theDrawer->MaximalParameterValue();
|
||||
Standard_Integer aNbPoints = theDrawer->Discretisation();
|
||||
StdPrs_ToolRFace aToolRst (theFace);
|
||||
|
||||
|
Reference in New Issue
Block a user