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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user