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 494d1a3..58ed743 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 6396332..606c7d5 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 5e3d7b9..bdefaf1 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);                             \