[Piglit] [PATCH] GL_EXT_transform_feedback/negative-prims: Remove unused variable.
Vinson Lee
vlee at freedesktop.org
Sat Mar 31 11:56:14 PDT 2012
Fixes this GCC warning.
negative-prims.c: In function ‘piglit_display’:
negative-prims.c:114: warning: unused variable ‘tf’
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/spec/ext_transform_feedback/negative-prims.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/spec/ext_transform_feedback/negative-prims.c b/tests/spec/ext_transform_feedback/negative-prims.c
index 886b9c2..27ec0b7 100644
--- a/tests/spec/ext_transform_feedback/negative-prims.c
+++ b/tests/spec/ext_transform_feedback/negative-prims.c
@@ -111,7 +111,6 @@ enum piglit_result
piglit_display(void)
{
bool pass = true;
- GLuint tf;
pass = pass && test_transform_feedback_prim(GL_POINTS, "GL_POINTS");
pass = pass && test_transform_feedback_prim(GL_LINES, "GL_LINES");
--
1.7.9.4
More information about the Piglit
mailing list