Initialize variable to avoid compiler warning

Seems the OSX gcc warns on saveRight not being initialzied.
This commit is contained in:
Alexander Larsson 2010-09-29 12:47:15 +02:00 committed by Marc-André Lureau
parent c3d7a087e4
commit a95a9fe41c

View File

@ -2985,7 +2985,7 @@ miWideDashSegment (GCPtr pGC,
double L, l;
double k;
PolyVertexRec vertices[4];
PolyVertexRec saveRight, saveBottom;
PolyVertexRec saveRight = { 0 }, saveBottom;
PolySlopeRec slopes[4];
PolyEdgeRec left[2], right[2];
LineFaceRec lcapFace, rcapFace;