summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/mga/mgaspan.c3
-rw-r--r--src/mesa/drivers/dri/savage/savagespan.c3
-rw-r--r--src/mesa/drivers/dri/sis/sis_span.c3
3 files changed, 3 insertions, 6 deletions
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); \