Cppcheck warning.

We don't need support for reading ASTM notches.
This commit is contained in:
Roman Telezhynskyi 2020-03-15 13:43:18 +02:00
parent 1b663bb5e1
commit b756460da8
3 changed files with 0 additions and 26 deletions

View File

@ -62,9 +62,6 @@ public:
/** Called for every point */
virtual void addPoint(const DRW_Point &) { }
/** Called for every ASTM notch */
virtual void addASTMNotch(const DRW_ASTMNotch &) { }
/** Called for every line */
virtual void addLine(const DRW_Line &) { }

View File

@ -2369,28 +2369,6 @@ bool dxfRW::processPoint() {
return true;
}
bool dxfRW::processASTMNotch()
{
DRW_DBG("dxfRW::processASTMNotch\n");
int code;
DRW_ASTMNotch notch;
while (reader->readRec(&code)) {
DRW_DBG(code); DRW_DBG("\n");
switch (code) {
case 0: {
nextentity = reader->getString();
DRW_DBG(nextentity); DRW_DBG("\n");
iface->addASTMNotch(notch);
return true; //found new entity or ENDSEC, terminate
}
default:
notch.parseCode(code, reader);
break;
}
}
return true;
}
bool dxfRW::processLine() {
DRW_DBG("dxfRW::processLine\n");
int code;

View File

@ -91,7 +91,6 @@ private:
bool processAppId();
bool processPoint();
bool processASTMNotch();
bool processLine();
bool processRay();
bool processXline();