mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -578,7 +578,6 @@ Standard_Boolean QANewModTopOpe::IsConnected(const TopoDS_Shape& TheS)
|
||||
if(nbs <= 1) return aRes;
|
||||
|
||||
math_Matrix aMat(1, nbs, 1, nbs, 0);
|
||||
Standard_Integer aMax=nbs*nbs;
|
||||
|
||||
TopTools_MapIteratorOfMapOfShape anMIter(aSMap);
|
||||
Standard_Integer n = 1;
|
||||
@@ -616,7 +615,7 @@ Standard_Boolean QANewModTopOpe::IsConnected(const TopoDS_Shape& TheS)
|
||||
}
|
||||
//cout << "QANewModTopOpe::IsConnected(3)Lnbs=" <<nbs<< endl;
|
||||
|
||||
Standard_Integer k,i,ncount=0;
|
||||
Standard_Integer k,i;
|
||||
Standard_Real p;
|
||||
Standard_Boolean aNotChanged;
|
||||
|
||||
|
@@ -333,7 +333,6 @@ Standard_Boolean QANewModTopOpe_Intersection::IsDeleted(const TopoDS_Shape& aS)
|
||||
//=======================================================================
|
||||
Standard_Boolean QANewModTopOpe_Intersection::HasDeleted() const
|
||||
{
|
||||
Standard_Real aresult = Standard_False;
|
||||
TopExp_Explorer anExp;
|
||||
|
||||
for(Standard_Integer argit = 0; argit < 2; argit++) {
|
||||
|
@@ -547,7 +547,7 @@ Standard_Boolean QANewModTopOpe_Tools::BoolOpe(const TopoDS_Shape& theFace1,
|
||||
const BOPDS_PDS& pDS = aDSFiller.PDS();
|
||||
|
||||
Standard_Integer aNb = 0, aNbSps;
|
||||
Standard_Integer i = 0, j = 0;
|
||||
Standard_Integer i = 0;
|
||||
TopTools_IndexedMapOfShape aMapV;
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user