diff --git a/src/libs/vdxf/dxflib/dl_dxf.cpp b/src/libs/vdxf/dxflib/dl_dxf.cpp index 8a21cad61..f8ec8a9ae 100644 --- a/src/libs/vdxf/dxflib/dl_dxf.cpp +++ b/src/libs/vdxf/dxflib/dl_dxf.cpp @@ -2277,6 +2277,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface) hatchEdge.defined = true; } return true; + default: + return true; } } else @@ -2299,6 +2301,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface) hatchEdge.y2 = toReal(groupValue); hatchEdge.defined = true; return true; + default: + return true; } } @@ -2326,6 +2330,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface) hatchEdge.ccw = static_cast(toInt(groupValue)); hatchEdge.defined = true; return true; + default: + return true; } } @@ -2359,6 +2365,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface) hatchEdge.ccw = static_cast(toInt(groupValue)); hatchEdge.defined = true; return true; + default: + return true; } } @@ -2439,6 +2447,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface) case 23: hatchEdge.endTangentY = toReal(groupValue); return true; + default: + return true; } } } @@ -2602,6 +2612,8 @@ void DL_Dxf::writeHeader(DL_WriterA& dw) case DL_Codes::AC1015: dw.dxfString(1, "AC1015"); break; + default: + break; } // Newer version require that (otherwise a*cad crashes..)