aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2006-02-14 08:11:41 +0000
committerUlrich Sibiller <u.sibiller@science-computing.de>2016-10-20 10:16:35 +0200
commitc266216107f0f0964c0a3d3979f4c364a59c578c (patch)
tree02d748b142ac1abd250ddd89b195415fc814220e /nx-X11
parent4f99f854cd29e980144254678828dcb11c121cd3 (diff)
downloadnx-libs-c266216107f0f0964c0a3d3979f4c364a59c578c.tar.gz
nx-libs-c266216107f0f0964c0a3d3979f4c364a59c578c.tar.bz2
nx-libs-c266216107f0f0964c0a3d3979f4c364a59c578c.zip
Remove useless line of code that contained a bug and triggered a gcc warning. This variable will be overriden before being used anyway. (Bugzilla #5595)
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/fb/fbbits.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/fb/fbbits.h b/nx-X11/programs/Xserver/fb/fbbits.h
index 5cd7ae70f..d915d7b35 100644
--- a/nx-X11/programs/Xserver/fb/fbbits.h
+++ b/nx-X11/programs/Xserver/fb/fbbits.h
@@ -829,8 +829,6 @@ POLYSEGMENT (DrawablePtr pDrawable,
ul = coordToInt(pBox->x1 - xoff, pBox->y1 - yoff);
lr = coordToInt(pBox->x2 - xoff - 1, pBox->y2 - yoff - 1);
- bits += bitsStride * yoff + xoff * MUL;
-
capNotLast = pGC->capStyle == CapNotLast;
while (nseg--)