[Piglit] [PATCH 3/5] glean: silence unused var compiler warning
Brian Paul
brianp at vmware.com
Fri Sep 27 17:13:28 PDT 2013
---
tests/glean/tshaderapi.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/glean/tshaderapi.cpp b/tests/glean/tshaderapi.cpp
index 5111c30..fcd6547 100644
--- a/tests/glean/tshaderapi.cpp
+++ b/tests/glean/tshaderapi.cpp
@@ -440,6 +440,7 @@ ShaderAPITest::test_uniform_neg_location(void)
GLfloat data[4];
program = make_program("#version 110\nvoid main() { gl_Position = vec4(1.0, 1.0, 1.0, 1.0); }\n", NULL);
+ (void) program;
assert_no_error();
glUniform1i_func(-1, 1);
assert_no_error();
--
1.7.10.4
More information about the Piglit
mailing list