mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024171: Eliminate CLang compiler warning -Wreorder
Got rid of -Wreorder warning (wrong fields' initialization order); some warnings -Wdangling-else are also fixed
This commit is contained in:
@@ -414,9 +414,11 @@ void ShapeProcess_ShapeContext::PrintStatistics () const
|
||||
if (valueshape.IsNull()) SN++;
|
||||
else SS++;
|
||||
else if (keyshape.ShapeType() == TopAbs_FACE)
|
||||
{
|
||||
if (valueshape.IsNull()) FN++;
|
||||
else if (valueshape.ShapeType() == TopAbs_SHELL) FS++;
|
||||
else FF++;
|
||||
}
|
||||
}
|
||||
|
||||
// mapping
|
||||
|
Reference in New Issue
Block a user