mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024284: Some trivial warnings produced by ICC 14
Eliminated ICC 14 warnings: # 82: storage class is not first (e.g. "int static f()" # 2621: attribute "dllexport" does not apply here (e.g. "Standard_EXPORT typedef int qqint;") # 2415: variable "..." of static storage duration was declared but never referenced # 111: statement is unreachable (usually "break" after "return" in cycles)
This commit is contained in:
@@ -336,7 +336,6 @@ static Standard_Boolean IsIn (BRepTopAdaptor_FClass2d& FC,
|
||||
gp_Pnt2d P = AC.Value(QU.Parameter(i));
|
||||
if (FC.Perform(P, Standard_False) == TopAbs_OUT) {
|
||||
return Standard_False;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return Standard_True;
|
||||
@@ -481,7 +480,6 @@ Standard_Boolean BRepFeat::IsInside(const TopoDS_Face& F1,
|
||||
Geom2dAdaptor_Curve AC(C,f1,l1);
|
||||
if (!IsIn(FC,AC)) {
|
||||
return Standard_False;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return Standard_True;
|
||||
|
Reference in New Issue
Block a user