diff options
author | Vinson Lee <vlee@vmware.com> | 2010-08-22 00:16:54 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-08-22 00:16:54 -0700 |
commit | 928830606f267aa828ede92cf0a643eb5901c3e2 (patch) | |
tree | 25b6ddb97fb87dae2f4cbc0758bf4aae8e30dfdb /src | |
parent | 48c289fb552a3d363b505514b6ea22467f00e318 (diff) |
nvfx: Silence unused variable warning.
The variable is used but only in the body of an assert.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nvfx/nv04_2d.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nv04_2d.c b/src/gallium/drivers/nvfx/nv04_2d.c index c7d53a786f..3761002bcb 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)); |