diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-06-29 14:14:15 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-07-05 08:11:42 +0200 |
commit | c08d0308d7e2c48012b0b8bd3651a4371826d483 (patch) | |
tree | 9e2152a34a71153d6dd03d6398a0d7a09720dae0 | |
parent | a8fd16ce61113f54391a2a58c9ad00466b67af98 (diff) | |
download | nx-libs-c08d0308d7e2c48012b0b8bd3651a4371826d483.tar.gz nx-libs-c08d0308d7e2c48012b0b8bd3651a4371826d483.tar.bz2 nx-libs-c08d0308d7e2c48012b0b8bd3651a4371826d483.zip |
Xserver/mi/miarc.c: Initialize dashRemaining with 0 before using it.
-rw-r--r-- | nx-X11/programs/Xserver/mi/miarc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/mi/miarc.c b/nx-X11/programs/Xserver/mi/miarc.c index 9c3bcb7ad..fadb42bc5 100644 --- a/nx-X11/programs/Xserver/mi/miarc.c +++ b/nx-X11/programs/Xserver/mi/miarc.c @@ -1920,7 +1920,7 @@ miComputeArcs ( int arcsJoin; int selfJoin; - int iDash = 0, dashRemaining; + int iDash = 0, dashRemaining = 0; int iDashStart = 0, dashRemainingStart = 0, iphaseStart; int startAngle, spanAngle, endAngle, backwards = 0; int prevDashAngle, dashAngle; |