[Piglit] [PATCH] required-renderbuffer-attachment-formats: Remove unused variable.
Vinson Lee
vlee at vmware.com
Tue Nov 29 17:11:51 PST 2011
Fixes this GCC warning.
required-renderbuffer-attachment-formats.c: In function ‘piglit_init’:
required-renderbuffer-attachment-formats.c:51: warning: unused variable ‘c’
Signed-off-by: Vinson Lee <vlee at vmware.com>
---
.../required-renderbuffer-attachment-formats.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c b/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c
index aec4192..c18e9d9 100644
--- a/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c
+++ b/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c
@@ -48,7 +48,7 @@ piglit_init(int argc, char **argv)
{
bool pass = true;
GLuint rb, fbo;
- int i, c;
+ int i;
if (!GLEW_VERSION_3_0) {
printf("Requires GL 3.0\n");
--
1.7.1
More information about the Piglit
mailing list