minor clean-ups
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 4 Sep 2005 15:03:36 +0000 (15:03 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 4 Sep 2005 15:03:36 +0000 (15:03 +0000)
src/mesa/drivers/dri/mga/mgaspan.c
src/mesa/drivers/dri/savage/savagespan.c
src/mesa/drivers/dri/sis/sis_span.c

index 494d1a36b60382493510deae03a26dfcdb13217e..58ed7438c087334bb3bd343e6c8a3d44005ac367 100644 (file)
@@ -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
 
 
 
index 6396332794fd6525ecbd25ce3c30013c127bcde4..606c7d50c7e47f3534e3bf87915ec46de7e1f024 100644 (file)
@@ -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);               \
index 5e3d7b9e4e881b89c64e57ab5ed460f294183005..bdefaf10189c0e90a14b59b7d379b9f3c758fbbe 100644 (file)
@@ -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);                             \