mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0023729: Statement has no effect in BinMDataStd_NamedDataDriver::Paste()
This commit is contained in:
@@ -176,7 +176,8 @@ Standard_Boolean BinMDataStd_NamedDataDriver::Paste(const BinObjMgt_Persistent&
|
||||
Standard_Integer low, up;
|
||||
if (! (theSource >> low >> up))
|
||||
return Standard_False;
|
||||
if(up < low) Standard_False;
|
||||
if (up < low)
|
||||
return Standard_False;
|
||||
if(low | up) {
|
||||
Handle(TColStd_HArray1OfReal) aTargetArray =
|
||||
new TColStd_HArray1OfReal(low, up);
|
||||
|
Reference in New Issue
Block a user