summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-31 00:07:47 -0800
committerVinson Lee <vlee@vmware.com>2009-12-31 00:07:47 -0800
commit6e0584932b3e556a0aecd2ca36f5ae41dc40a919 (patch)
tree2d3d166bd06a4141a14bbbf84f79a91763c4929e /src/mesa/main
parent5b2713c92a89fc6c47c3546d36eeb549e126ebc0 (diff)
mesa: Silence unused variable warning.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/formats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index 329b795074..5983f00e2d 100644
--- a/src/mesa/main/formats.c
+++ b/src/mesa/main/formats.c
@@ -910,6 +910,7 @@ _mesa_test_formats(void)
GLuint t = info->RedBits + info->GreenBits
+ info->BlueBits + info->AlphaBits;
assert(t / 8 == info->BytesPerBlock);
+ (void) t;
}
}