From: Brian Paul Date: Tue, 1 Mar 2011 01:34:06 +0000 (-0700) Subject: vbo: silence unused var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b3bec87dfb02e8ee43f64da12c928d76883aa61;p=mesa.git vbo: silence unused var warning --- 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