From 7b3bec87dfb02e8ee43f64da12c928d76883aa61 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 28 Feb 2011 18:34:06 -0700 Subject: [PATCH] vbo: silence unused var warning --- src/mesa/vbo/vbo_exec_array.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index 457343a1a5c..5818b134d33 100644 --- a/src/mesa/vbo/vbo_exec_array.c +++ b/src/mesa/vbo/vbo_exec_array.c @@ -52,6 +52,7 @@ check_buffers_are_unmapped(const struct gl_client_array **inputs) if (inputs[i]) { struct gl_buffer_object *obj = inputs[i]->BufferObj; assert(!_mesa_bufferobj_mapped(obj)); + (void) obj; } } #endif -- 2.30.2