Cell: silence unused var warnings
authorBrian <brian.paul@tungstengraphics.com>
Wed, 6 Feb 2008 16:48:56 +0000 (09:48 -0700)
committerBen Skeggs <skeggsb@gmail.com>
Fri, 15 Feb 2008 02:50:32 +0000 (13:50 +1100)
src/mesa/pipe/cell/ppu/cell_state_fs.c

index 81c2ac14ddc330966138fc0f1a1f291171960851..96a52273b01a5de134d1fa7303a29b805a0cbd6a 100644 (file)
@@ -45,7 +45,7 @@ void *
 cell_create_fs_state(struct pipe_context *pipe,
                      const struct pipe_shader_state *templ)
 {
-   struct cell_context *cell = cell_context(pipe);
+   /*struct cell_context *cell = cell_context(pipe);*/
    struct cell_fragment_shader_state *state;
 
    state = CALLOC_STRUCT(cell_fragment_shader_state);
@@ -94,8 +94,6 @@ cell_bind_fs_state(struct pipe_context *pipe, void *fs)
 void
 cell_delete_fs_state(struct pipe_context *pipe, void *fs)
 {
-   struct cell_context *cell = cell_context(pipe);
-
    struct cell_fragment_shader_state *state =
       (struct cell_fragment_shader_state *) fs;