remove unused vars
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 1 Nov 2006 19:25:43 +0000 (19:25 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 1 Nov 2006 19:25:43 +0000 (19:25 +0000)
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_texstate.c

index 29ffa7a..9fd769f 100644 (file)
@@ -460,7 +460,6 @@ static void update_depth(GLcontext* ctx)
 static void r300Enable(GLcontext* ctx, GLenum cap, GLboolean state)
 {
        r300ContextPtr r300 = R300_CONTEXT(ctx);
-       uint32_t newval;
 
        if (RADEON_DEBUG & DEBUG_STATE)
                fprintf(stderr, "%s( %s = %s )\n", __FUNCTION__,
index 1d78918..cc356af 100644 (file)
@@ -171,7 +171,6 @@ static void r300SetTexImages(r300ContextPtr rmesa,
        GLint i, texelBytes;
        GLint numLevels;
        GLint log2Width, log2Height, log2Depth;
-       const GLuint ui = 1;
 
        /* Set the hardware texture format
         */