nv40: kill some warnings
authorBen Skeggs <skeggsb@gmail.com>
Fri, 4 Apr 2008 10:32:06 +0000 (20:32 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Fri, 4 Apr 2008 10:32:06 +0000 (20:32 +1000)
src/gallium/drivers/nv40/nv40_state.c

index 5dc2991212d39d256ea097022bfa983887a1d052..997beca883ab7428f388273b7c5c29dbb46935ac 100644 (file)
@@ -421,7 +421,6 @@ static void
 nv40_rasterizer_state_bind(struct pipe_context *pipe, void *hwcso)
 {
        struct nv40_context *nv40 = nv40_context(pipe);
-       struct nv40_rasterizer_state *rsso = hwcso;
 
        nv40->rasterizer = hwcso;
        nv40->dirty |= NV40_NEW_RAST;
@@ -527,7 +526,6 @@ static void
 nv40_vp_state_bind(struct pipe_context *pipe, void *hwcso)
 {
        struct nv40_context *nv40 = nv40_context(pipe);
-       struct nv40_vertex_program *vp = hwcso;
 
        nv40->vertprog = hwcso;
        nv40->dirty |= NV40_NEW_VERTPROG;