mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0031007: Coding - eliminate warnings issued while compiling with -pedantic flag
Removed duplicating semicolons ;;. Removed redundant semicolon at namespace closure.
This commit is contained in:
@@ -466,7 +466,7 @@ void IntPatch_InterferencePolyhedron::Intersect
|
||||
Standard_Real div = dpOeT[iObj][iToo]-dpOeT[inext][iToo];
|
||||
if(div>floatGap || div<-floatGap) {
|
||||
parO[iObj]=dpOeT[iObj][iToo]/
|
||||
(dpOeT[iObj][iToo]-dpOeT[inext][iToo]);;
|
||||
(dpOeT[iObj][iToo]-dpOeT[inext][iToo]);
|
||||
piO=(IntPatch_PolyhedronTool::Point(FirstPol,OI[iObj]).XYZ()) +
|
||||
(voo[iObj]*parO[iObj]);
|
||||
}
|
||||
|
@@ -402,12 +402,12 @@ Standard_Integer IntPatch_Polyhedron::TriConnex (const Standard_Integer Triang,
|
||||
if (colT==(colP+colP)) {
|
||||
colT++;
|
||||
linO=(ligP>ligE)? ligP : ligE; //--linO=Max(ligP, ligE);
|
||||
colO=colP+1;;
|
||||
colO=colP+1;
|
||||
}
|
||||
else {
|
||||
colT--;
|
||||
linO=(ligP<ligE)? ligP : ligE; //--linO=Min(ligP, ligE);
|
||||
colO=colP-1;;
|
||||
colO=colP-1;
|
||||
}
|
||||
break;
|
||||
case 3: // Oblique
|
||||
|
Reference in New Issue
Block a user