st: silence warning
authorBrian Paul <brianp@vmware.com>
Mon, 9 Mar 2009 15:39:21 +0000 (09:39 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 9 Mar 2009 15:42:26 +0000 (09:42 -0600)
src/mesa/state_tracker/st_draw.c

index 772280d7b8d8ec77f93887ed26c46b31b991759c..225541a30ba2deccbde328e258bf281e33716f8b 100644 (file)
@@ -545,6 +545,8 @@ st_draw_vbo(GLcontext *ctx,
    if (MESA_VERBOSE & VERBOSE_GLSL) {
       check_uniforms(ctx);
    }
+#else
+   (void) check_uniforms;
 #endif
 
    /*