diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-03-15 16:56:10 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-03-15 16:56:10 +0000 |
commit | b9c43cde1e368903786977b06368d5e36db9ffe8 (patch) | |
tree | 56504bdfe09ed6059b1b5427e7664512a991be68 /hw/xfree86/xf4bpp/ppcPixFS.c | |
parent | 5e106a71b9f8077216d41619402952b0005dd8a4 (diff) |
Coverity #1042, 1043: Nuke some dead variables.
Diffstat (limited to 'hw/xfree86/xf4bpp/ppcPixFS.c')
-rw-r--r-- | hw/xfree86/xf4bpp/ppcPixFS.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/xfree86/xf4bpp/ppcPixFS.c b/hw/xfree86/xf4bpp/ppcPixFS.c index dd1bb31d9..c8801fd32 100644 --- a/hw/xfree86/xf4bpp/ppcPixFS.c +++ b/hw/xfree86/xf4bpp/ppcPixFS.c @@ -232,7 +232,6 @@ int *pwidthInit ; /* pointer to list of n widths */ int fSorted ; { register unsigned char *pdst ; /* pointer to current word in bitmap */ - register int *psrc ; /* pointer to current word in tile */ register unsigned long int pm, npm ; register unsigned long int fg ; register int alu ; @@ -291,7 +290,7 @@ int fSorted ; x = ppt->x ; xoff = modulo( x - xSrc, tileWidth) ; - for ( width = *pwidth ; width ; psrc++, width -= count, xoff+=count ) { + for ( width = *pwidth ; width ; width -= count, xoff+=count ) { if ( xoff >= tileWidth ) xoff -= tileWidth; @@ -341,7 +340,6 @@ int fSorted ; int n ; /* number of spans to fill */ register DDXPointPtr ppt ; /* pointer to list of start points */ register int *pwidth ; /* pointer to list of n widths */ - register int *psrc ; /* pointer to current word in tile */ PixmapPtr pTile ; /* pointer to tile we want to fill with */ int width ; int xSrc, ySrc ; @@ -389,7 +387,7 @@ int fSorted ; xoff = modulo( ppt->x - xSrc, tileWidth) ; - for ( width = *pwidth ; width ; psrc++, width -= count, xoff+=count ) { + for ( width = *pwidth ; width ; width -= count, xoff+=count ) { if ( xoff >= tileWidth ) xoff -= tileWidth; |