summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvUtil.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-14 12:30:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-14 12:30:44 (GMT)
commit08e4f14e0f32d64cd4cbb48601cccbaf525a272a (patch)
tree70ef17719443403ed14aa30905f3187fa8a14bb2 /generic/tkCanvUtil.c
parente0b895874d5fa39f6d4134b407e930b80ee3ecd7 (diff)
downloadtk-08e4f14e0f32d64cd4cbb48601cccbaf525a272a.zip
tk-08e4f14e0f32d64cd4cbb48601cccbaf525a272a.tar.gz
tk-08e4f14e0f32d64cd4cbb48601cccbaf525a272a.tar.bz2
Eliminate some more unneeded write-only variables (discovered by gcc-4.6)
Diffstat (limited to 'generic/tkCanvUtil.c')
-rw-r--r--generic/tkCanvUtil.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/generic/tkCanvUtil.c b/generic/tkCanvUtil.c
index 964e2af..60f06c7 100644
--- a/generic/tkCanvUtil.c
+++ b/generic/tkCanvUtil.c
@@ -1639,8 +1639,6 @@ TkCanvTranslatePath(
double *a, *b, *t; /* Pointers to parts of the temporary
* storage */
int i, j; /* Loop counters */
- int maxOutput; /* Maximum number of outputs that we will
- * allow */
double limit[4]; /* Boundries at which clipping occurs */
double staticSpace[480]; /* Temp space from the stack */
@@ -1735,7 +1733,6 @@ TkCanvTranslatePath(
* This is the loop that makes the four passes through the data.
*/
- maxOutput = numVertex*3;
for (j=0; j<4; j++){
double xClip = limit[j];
int inside = a[0] < xClip;