gallium: unused var silence warning
authorBrian <brian.paul@tungstengraphics.com>
Thu, 20 Mar 2008 21:02:10 +0000 (15:02 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 20 Mar 2008 21:04:08 +0000 (15:04 -0600)
src/mesa/state_tracker/st_debug.c

index 8b9b91aa348f9756de6555af880cd517109b7da2..23ecfff0aa43bd55702eaf7d3597d5dd55394e6c 100644 (file)
@@ -50,9 +50,10 @@ st_print_current(void)
 {
    GET_CURRENT_CONTEXT(ctx);
    struct st_context *st = ctx->st;
-   int i;
 
 #if 0
+   int i;
+
    printf("Vertex Transform Inputs:\n");
    for (i = 0; i < st->vp->state.num_inputs; i++) {
       printf("  Slot %d:  VERT_ATTRIB_%d\n", i, st->vp->index_to_input[i]);