mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024180: Eliminate CLang / GCC compiler warning -Wswitch
Eliminated warnings -Wswitch shown by gcc Eliminated two new warnings about wrong initialization order Eliminated warnings about unused functions. A few more ICC warnings (type conversions) fixed
This commit is contained in:
@@ -1765,6 +1765,8 @@ TopAbs_Orientation ChFi3d_TrsfTrans(const IntSurf_TypeTrans T1)
|
||||
switch (T1) {
|
||||
case IntSurf_In: return TopAbs_FORWARD;
|
||||
case IntSurf_Out: return TopAbs_REVERSED;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return TopAbs_INTERNAL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user