diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-02-14 08:11:41 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-02-14 08:11:41 +0000 |
commit | 049dca0f43eb2179d2c61033a17ff1a89f8fb689 (patch) | |
tree | cdc1db8095508383e88c738790ccf308c5a199d1 | |
parent | 1132d0e6102d4564f70f0e8c98854e3acf25b109 (diff) |
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)
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | fb/fbbits.h | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -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: diff --git a/fb/fbbits.h b/fb/fbbits.h index 7dfff58b4..e5c006dbb 100644 --- a/fb/fbbits.h +++ b/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--) |