Kaydet (Commit) 9c860141 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

clang-analyzer-deadcode.DeadStores

Change-Id: Idebc9fabd8110dcd82c8cab7c5c7300e4c2c6f1d
üst 981ae9f8
......@@ -1262,9 +1262,8 @@ XPolygon SdrEdgeObj::ImpCalcEdgeTrack(const Point& rPt1, long nAngle1, const Rec
aXP1.Insert(XPOLY_APPEND,aXP2[nNum],XPOLY_NORMAL);
}
sal_uInt16 nPointCount=aXP1.GetPointCount();
char cForm=0;
char cForm;
if (bInfo || pnQuality!=NULL) {
cForm='?';
if (nPointCount==2) cForm='I';
else if (nPointCount==3) cForm='L';
else if (nPointCount==4) { // Z or U
......@@ -1305,6 +1304,10 @@ XPolygon SdrEdgeObj::ImpCalcEdgeTrack(const Point& rPt1, long nAngle1, const Rec
}
}
}
else
{
cForm = 0;
}
if (pnQuality!=NULL) {
sal_uIntPtr nQual=0;
sal_uIntPtr nQual0=nQual; // prevent overruns
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment