mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -431,7 +431,6 @@ GeomAbs_SurfaceType Adaptor3d_SurfaceOfLinearExtrusion::GetType() const
|
||||
else {
|
||||
return GeomAbs_Plane;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case GeomAbs_Circle:
|
||||
@@ -447,7 +446,6 @@ GeomAbs_SurfaceType Adaptor3d_SurfaceOfLinearExtrusion::GetType() const
|
||||
else {
|
||||
return GeomAbs_SurfaceOfExtrusion;
|
||||
}
|
||||
break;
|
||||
}
|
||||
// JAG 10.11.95
|
||||
|
||||
@@ -460,7 +458,6 @@ GeomAbs_SurfaceType Adaptor3d_SurfaceOfLinearExtrusion::GetType() const
|
||||
else {
|
||||
return GeomAbs_SurfaceOfExtrusion;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case GeomAbs_Parabola:
|
||||
@@ -472,7 +469,6 @@ GeomAbs_SurfaceType Adaptor3d_SurfaceOfLinearExtrusion::GetType() const
|
||||
else {
|
||||
return GeomAbs_SurfaceOfExtrusion;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case GeomAbs_Hyperbola:
|
||||
@@ -484,7 +480,6 @@ GeomAbs_SurfaceType Adaptor3d_SurfaceOfLinearExtrusion::GetType() const
|
||||
else {
|
||||
return GeomAbs_SurfaceOfExtrusion;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user