summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-31 00:07:47 -0800
committerVinson Lee <[email protected]>2009-12-31 00:07:47 -0800
commit6e0584932b3e556a0aecd2ca36f5ae41dc40a919 (patch)
tree2d3d166bd06a4141a14bbbf84f79a91763c4929e /src
parent5b2713c92a89fc6c47c3546d36eeb549e126ebc0 (diff)
mesa: Silence unused variable warning.
Diffstat (limited to 'src')
-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 329b7950745..5983f00e2dd 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;
}
}