From 928830606f267aa828ede92cf0a643eb5901c3e2 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sun, 22 Aug 2010 00:16:54 -0700 Subject: nvfx: Silence unused variable warning. The variable is used but only in the body of an assert. --- src/gallium/drivers/nvfx/nv04_2d.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/gallium/drivers/nvfx/nv04_2d.c b/src/gallium/drivers/nvfx/nv04_2d.c index c7d53a786f2..3761002bcb9 100644 --- a/src/gallium/drivers/nvfx/nv04_2d.c +++ b/src/gallium/drivers/nvfx/nv04_2d.c @@ -247,6 +247,7 @@ nv04_region_assert(struct nv04_region* rgn, unsigned w, unsigned h) assert(rgn->offset <= (int)rgn->bo->size); assert(end <= rgn->bo->size); + (void) end; if(!rgn->pitch) { assert(util_is_pot(rgn->w)); assert(util_is_pot(rgn->h)); -- cgit v1.2.3