From: Brian Paul Date: Sun, 4 Sep 2005 15:03:36 +0000 (+0000) Subject: minor clean-ups X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d575a4c4a1795bda73ba1f6a1817b0dacac2174e;p=mesa.git minor clean-ups --- diff --git a/src/mesa/drivers/dri/mga/mgaspan.c b/src/mesa/drivers/dri/mga/mgaspan.c index 494d1a36b60..58ed7438c08 100644 --- a/src/mesa/drivers/dri/mga/mgaspan.c +++ b/src/mesa/drivers/dri/mga/mgaspan.c @@ -45,9 +45,8 @@ drb->offset + \ dPriv->x * drb->cpp + \ dPriv->y * pitch); \ - char *read_buf = buf; \ GLuint p; \ - (void) read_buf; (void) buf; (void) p + (void) buf; (void) p diff --git a/src/mesa/drivers/dri/savage/savagespan.c b/src/mesa/drivers/dri/savage/savagespan.c index 6396332794f..606c7d50c7e 100644 --- a/src/mesa/drivers/dri/savage/savagespan.c +++ b/src/mesa/drivers/dri/savage/savagespan.c @@ -40,9 +40,8 @@ GLuint pitch = drb->pitch; \ GLuint height = dPriv->h; \ GLubyte *buf = drb->Base.Data + dPriv->x * cpp + dPriv->y * pitch; \ - GLubyte *read_buf = buf; \ GLuint p; \ - (void) p; (void) read_buf; + (void) p #define LOCAL_DEPTH_VARS \ savageContextPtr imesa = SAVAGE_CONTEXT(ctx); \ diff --git a/src/mesa/drivers/dri/sis/sis_span.c b/src/mesa/drivers/dri/sis/sis_span.c index 5e3d7b9e4e8..bdefaf10189 100644 --- a/src/mesa/drivers/dri/sis/sis_span.c +++ b/src/mesa/drivers/dri/sis/sis_span.c @@ -47,9 +47,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. driRenderbuffer *drb = (driRenderbuffer *) rb; \ GLuint pitch = drb->pitch; \ char *buf = (char *)(smesa->FbBase + drb->offset); \ - char *read_buf = buf; \ GLuint p; \ - (void) read_buf; (void) buf; (void) p + (void) buf; (void) p #define LOCAL_DEPTH_VARS \ sisContextPtr smesa = SIS_CONTEXT(ctx); \