Index: core/fxge/ge/fx_ge_path.cpp |
diff --git a/core/fxge/ge/fx_ge_path.cpp b/core/fxge/ge/fx_ge_path.cpp |
index 0b52cdf9e45c002337d6bc333df15cf790e14550..de84de25183e70d8bda94d52557ed6ffa12ae02d 100644 |
--- a/core/fxge/ge/fx_ge_path.cpp |
+++ b/core/fxge/ge/fx_ge_path.cpp |
@@ -340,7 +340,9 @@ CFX_FloatRect CFX_PathData::GetBoundingBox(FX_FLOAT line_width, |
-100000 * 1.0f); |
int iPoint = 0; |
FX_FLOAT half_width = line_width; |
- int iStartPoint, iEndPoint, iMiddlePoint; |
+ int iStartPoint = 0; |
+ int iEndPoint = 0; |
+ int iMiddlePoint = 0; |
FX_BOOL bJoin; |
while (iPoint < m_PointCount) { |
if (m_pPoints[iPoint].m_Flag == FXPT_MOVETO) { |