projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0024180: Eliminate CLang / GCC compiler warning -Wswitch
[occt.git]
/
src
/
Adaptor3d
/
Adaptor3d_HSurfaceTool.cxx
diff --git
a/src/Adaptor3d/Adaptor3d_HSurfaceTool.cxx
b/src/Adaptor3d/Adaptor3d_HSurfaceTool.cxx
index
58aea74
..
d9e8ca7
100755
(executable)
--- a/
src/Adaptor3d/Adaptor3d_HSurfaceTool.cxx
+++ b/
src/Adaptor3d/Adaptor3d_HSurfaceTool.cxx
@@
-32,6
+32,8
@@
Standard_Integer Adaptor3d_HSurfaceTool::NbSamplesU(const Handle(Adaptor3d_HSurf
return (nbs < 2 ? 2 : nbs);
}
case GeomAbs_Torus: return 20;
+ default:
+ break;
}
return 10;
}
@@
-53,6
+55,8
@@
Standard_Integer Adaptor3d_HSurfaceTool::NbSamplesV(const Handle(Adaptor3d_HSurf
case GeomAbs_Torus:
case GeomAbs_SurfaceOfRevolution:
case GeomAbs_SurfaceOfExtrusion: return 15;
+ default:
+ break;
}
return 10;
}