aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-29 14:17:53 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-05 08:11:42 +0200
commit8df1a67b66147848673537625ec81b80be928686 (patch)
treea9e9fbe2afea0c4d38a10d06f2a035644c47a6ea
parentc08d0308d7e2c48012b0b8bd3651a4371826d483 (diff)
downloadnx-libs-8df1a67b66147848673537625ec81b80be928686.tar.gz
nx-libs-8df1a67b66147848673537625ec81b80be928686.tar.bz2
nx-libs-8df1a67b66147848673537625ec81b80be928686.zip
Xserver/mi/mizerarc.c: Initialize oddPtrs as NULL before using it (in miZeroPolyArc).
-rw-r--r--nx-X11/programs/Xserver/mi/mizerarc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/mi/mizerarc.c b/nx-X11/programs/Xserver/mi/mizerarc.c
index 4b4d724a6..f337d605e 100644
--- a/nx-X11/programs/Xserver/mi/mizerarc.c
+++ b/nx-X11/programs/Xserver/mi/mizerarc.c
@@ -720,7 +720,7 @@ miZeroPolyArc(pDraw, pGC, narcs, parcs)
register int n, maxw = 0;
register xArc *arc;
register int i;
- DDXPointPtr points, pts, oddPts;
+ DDXPointPtr points, pts, oddPts = NULL;
register DDXPointPtr pt;
int numPts;
Bool dospans;