mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0023687: Two opposite conditions. The second condition is always false in ifselect_shareout.cxx
Deleted if-condition that was always false.
This commit is contained in:
parent
f8814ccf52
commit
e1db25a9f0
@ -42,7 +42,6 @@ IFSelect_ShareOut::IFSelect_ShareOut ()
|
||||
{
|
||||
DeclareAndCast(IFSelect_GeneralModifier,modifier,item);
|
||||
if (!modifier.IsNull()) {
|
||||
if (modifier.IsNull()) return Standard_False;
|
||||
Standard_Boolean formodel = modifier->IsKind(STANDARD_TYPE(IFSelect_Modifier));
|
||||
Standard_Integer atnum = ModifierRank(modifier);
|
||||
return RemoveModifier (formodel,atnum);
|
||||
|
Loading…
x
Reference in New Issue
Block a user