From: Brian Date: Thu, 20 Mar 2008 21:02:10 +0000 (-0600) Subject: gallium: unused var silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3d23aa787bb08bad7638540b128fa0e65110246;p=mesa.git gallium: unused var silence warning --- diff --git a/src/mesa/state_tracker/st_debug.c b/src/mesa/state_tracker/st_debug.c index 8b9b91aa348..23ecfff0aa4 100644 --- a/src/mesa/state_tracker/st_debug.c +++ b/src/mesa/state_tracker/st_debug.c @@ -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]);