Clang warnings.
This commit is contained in:
parent
612306bbd8
commit
f28660e0ea
|
@ -2300,12 +2300,13 @@ bool dxfRW::processEntities(bool isblock) {
|
||||||
if (!reader->readRec(&code)){
|
if (!reader->readRec(&code)){
|
||||||
return setError(DRW::BAD_READ_ENTITIES);
|
return setError(DRW::BAD_READ_ENTITIES);
|
||||||
}
|
}
|
||||||
bool next = true;
|
|
||||||
if (code == 0) {
|
if (code == 0) {
|
||||||
nextentity = reader->getString();
|
nextentity = reader->getString();
|
||||||
} else if (!isblock) {
|
} else if (!isblock) {
|
||||||
return setError(DRW::BAD_READ_ENTITIES); //first record in entities is 0
|
return setError(DRW::BAD_READ_ENTITIES); //first record in entities is 0
|
||||||
}
|
}
|
||||||
|
|
||||||
bool processed {false};
|
bool processed {false};
|
||||||
do {
|
do {
|
||||||
if (nextentity == "ENDSEC" || nextentity == "ENDBLK") {
|
if (nextentity == "ENDSEC" || nextentity == "ENDBLK") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user