mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0033379: Coding - Processing Clang-15 warnings
Fixed warning generated by Clang++-15
This commit is contained in:
@@ -1088,13 +1088,12 @@ Standard_Boolean IGESData_ParamReader::ReadEnts
|
||||
Standard_Integer indmax = index+thenbitem*thetermsz-1;
|
||||
val = new IGESData_HArray1OfIGESEntity (index , indmax);
|
||||
Standard_Integer ind = index;
|
||||
Standard_Integer nbneg = 0, nbnul = 0;
|
||||
Standard_Integer nbnul = 0;
|
||||
|
||||
Standard_Integer i; // svv Jan11 2000 : porting on DEC
|
||||
for (i = FirstRead(); i > 0; i = NextRead()) {
|
||||
Standard_Integer nval;
|
||||
if (!ReadingEntityNumber(i,nval)) nval = 0; //return Standard_False;
|
||||
if (nval < 0) nbneg ++;
|
||||
if (nval > 0) {
|
||||
DeclareAndCast(IGESData_IGESEntity,anent,IR->BoundEntity(nval));
|
||||
if (anent.IsNull()) nbnul ++;
|
||||
|
Reference in New Issue
Block a user