Cppcheck warning.
We don't need support for reading ASTM notches.
This commit is contained in:
parent
1b663bb5e1
commit
b756460da8
|
@ -62,9 +62,6 @@ public:
|
||||||
/** Called for every point */
|
/** Called for every point */
|
||||||
virtual void addPoint(const DRW_Point &) { }
|
virtual void addPoint(const DRW_Point &) { }
|
||||||
|
|
||||||
/** Called for every ASTM notch */
|
|
||||||
virtual void addASTMNotch(const DRW_ASTMNotch &) { }
|
|
||||||
|
|
||||||
/** Called for every line */
|
/** Called for every line */
|
||||||
virtual void addLine(const DRW_Line &) { }
|
virtual void addLine(const DRW_Line &) { }
|
||||||
|
|
||||||
|
|
|
@ -2369,28 +2369,6 @@ bool dxfRW::processPoint() {
|
||||||
return true;
|
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() {
|
bool dxfRW::processLine() {
|
||||||
DRW_DBG("dxfRW::processLine\n");
|
DRW_DBG("dxfRW::processLine\n");
|
||||||
int code;
|
int code;
|
||||||
|
|
|
@ -91,7 +91,6 @@ private:
|
||||||
bool processAppId();
|
bool processAppId();
|
||||||
|
|
||||||
bool processPoint();
|
bool processPoint();
|
||||||
bool processASTMNotch();
|
|
||||||
bool processLine();
|
bool processLine();
|
||||||
bool processRay();
|
bool processRay();
|
||||||
bool processXline();
|
bool processXline();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user