1
0
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:
kgv
2013-01-26 23:49:45 +04:00
committed by kgv
parent 1d0a9d4d46
commit 3616fc066e

View File

@@ -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);