Mesa (mesa_7_7_branch): mesa: Silence unused variable warning.
Vinson Lee
vlee at kemper.freedesktop.org
Thu Dec 31 08:08:18 UTC 2009
Module: Mesa
Branch: mesa_7_7_branch
Commit: 6e0584932b3e556a0aecd2ca36f5ae41dc40a919
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e0584932b3e556a0aecd2ca36f5ae41dc40a919
Author: Vinson Lee <vlee at vmware.com>
Date: Thu Dec 31 00:07:47 2009 -0800
mesa: Silence unused variable warning.
---
src/mesa/main/formats.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index 329b795..5983f00 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;
}
}
More information about the mesa-commit
mailing list