mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -1339,12 +1339,13 @@ Handle(Transfer_Binder) STEPControl_ActorWrite::TransferCompound (const Handle(T
|
||||
while ( !bnd.IsNull() ) {
|
||||
Handle(Transfer_SimpleBinderOfTransient) bx =
|
||||
Handle(Transfer_SimpleBinderOfTransient)::DownCast(bnd);
|
||||
if ( !bx.IsNull() )
|
||||
if ( !bx.IsNull() ) {
|
||||
// Single SDR is created for a non-manifold group (ssv: 12.11.2010)
|
||||
if (!isManifold && i > 1)
|
||||
break;
|
||||
else
|
||||
binder->AddResult( TransientResult( bx->Result() ) );
|
||||
}
|
||||
bnd = bnd->NextResult();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user