cmSerialize.c : Fixed a typo in an assertion in _cmSrReadV().

This commit is contained in:
kevin.larke 2020-03-09 14:44:59 -04:00
parent 93382d3b97
commit 4a106504f6

View File

@ -1248,7 +1248,7 @@ cmSrRC_t _cmSrReadV( cmSrH_t h, unsigned typeId, const void** valPtrPtr, unsigne
if((rc= _cmSrRead(p,typeId, valPtrPtr, &dataByteCnt, eleCntPtr )) != kOkSrRC ) if((rc= _cmSrRead(p,typeId, valPtrPtr, &dataByteCnt, eleCntPtr )) != kOkSrRC )
return rc; return rc;
assert( dataByteCnt = scalarByteCnt * (*eleCntPtr)); assert( dataByteCnt == scalarByteCnt * (*eleCntPtr));
return rc; return rc;
} }