1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0029157: Modeling - suspicious pass-through of case labels in switch statements

Suspicious passes through case labels have been resolved either by using Standard_FALLTHROUGH macro or by redesigning the code.
This commit is contained in:
msv
2017-10-18 19:20:30 +03:00
committed by bugmaster
parent 56c62737ee
commit 6da5b3004c
3 changed files with 84 additions and 76 deletions

View File

@@ -129,13 +129,14 @@ Handle(GeomFill_TrihedronLaw) GeomFill_Frenet::Copy() const
case GeomAbs_Parabola:
case GeomAbs_Line:
{
// No probleme
isSngl = Standard_False;
// No probleme
isSngl = Standard_False;
break;
}
default :
{
// We have to search singulaties
Init();
// We have to search singulaties
Init();
}
}
}