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)
This commit is contained in:
Benjamin Herrenschmidt 2006-02-14 08:11:41 +00:00
parent 1132d0e610
commit 049dca0f43
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2006-02-14 Benjamin Herrenschmidt <benh@kernel.crashing.org>
* fb/fbbits.h:
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)
2006-02-14 Alan Hourihane <alanh@fairlite.demon.co.uk>
* hw/xfree86/dixmods/shmodule.c:

View File

@ -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--)