Bug 412239 - "Warnings in nsSVGPathElement.cpp" [p=andrey@esin.name (Esin Andrey) (via Timur Timirkhanov) r+sr=tor a1.9=schrep]

git-svn-id: svn://10.0.0.236/trunk@243173 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com 2008-01-16 02:01:05 +00:00
parent 987cc82c09
commit 2f06e7cc0b

View File

@ -535,11 +535,11 @@ nsSVGPathElement::GetMarkPoints(nsTArray<nsSVGMark> *aMarks)
PRUint16 lastSegmentType = nsIDOMSVGPathSeg::PATHSEG_UNKNOWN; PRUint16 lastSegmentType = nsIDOMSVGPathSeg::PATHSEG_UNKNOWN;
float px, py; // subpath initial point float px = 0, py = 0; // subpath initial point
float pathAngle; float pathAngle = 0;
PRUint32 pathIndex; PRUint32 pathIndex = 0;
float prevAngle = 0, startAngle, endAngle; float prevAngle = 0, startAngle = 0, endAngle = 0;
PRBool newSegment = PR_FALSE; PRBool newSegment = PR_FALSE;