Clang warnings.

This commit is contained in:
Roman Telezhynskyi 2021-11-24 14:50:31 +02:00
parent 612306bbd8
commit f28660e0ea

View File

@ -2300,12 +2300,13 @@ bool dxfRW::processEntities(bool isblock) {
if (!reader->readRec(&code)){
return setError(DRW::BAD_READ_ENTITIES);
}
bool next = true;
if (code == 0) {
nextentity = reader->getString();
} else if (!isblock) {
return setError(DRW::BAD_READ_ENTITIES); //first record in entities is 0
}
bool processed {false};
do {
if (nextentity == "ENDSEC" || nextentity == "ENDBLK") {