Fixed warnings in Linux (default statement in switch case)
--HG-- branch : feature
This commit is contained in:
parent
c3fef2abd7
commit
418a7ab57f
|
@ -2277,6 +2277,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface)
|
||||||
hatchEdge.defined = true;
|
hatchEdge.defined = true;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
default:
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -2299,6 +2301,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface)
|
||||||
hatchEdge.y2 = toReal(groupValue);
|
hatchEdge.y2 = toReal(groupValue);
|
||||||
hatchEdge.defined = true;
|
hatchEdge.defined = true;
|
||||||
return true;
|
return true;
|
||||||
|
default:
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2326,6 +2330,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface)
|
||||||
hatchEdge.ccw = static_cast<bool>(toInt(groupValue));
|
hatchEdge.ccw = static_cast<bool>(toInt(groupValue));
|
||||||
hatchEdge.defined = true;
|
hatchEdge.defined = true;
|
||||||
return true;
|
return true;
|
||||||
|
default:
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2359,6 +2365,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface)
|
||||||
hatchEdge.ccw = static_cast<bool>(toInt(groupValue));
|
hatchEdge.ccw = static_cast<bool>(toInt(groupValue));
|
||||||
hatchEdge.defined = true;
|
hatchEdge.defined = true;
|
||||||
return true;
|
return true;
|
||||||
|
default:
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2439,6 +2447,8 @@ bool DL_Dxf::handleHatchData(DL_CreationInterface* creationInterface)
|
||||||
case 23:
|
case 23:
|
||||||
hatchEdge.endTangentY = toReal(groupValue);
|
hatchEdge.endTangentY = toReal(groupValue);
|
||||||
return true;
|
return true;
|
||||||
|
default:
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2602,6 +2612,8 @@ void DL_Dxf::writeHeader(DL_WriterA& dw)
|
||||||
case DL_Codes::AC1015:
|
case DL_Codes::AC1015:
|
||||||
dw.dxfString(1, "AC1015");
|
dw.dxfString(1, "AC1015");
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Newer version require that (otherwise a*cad crashes..)
|
// Newer version require that (otherwise a*cad crashes..)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user