[Piglit] [PATCH] gl-3.0: Remove unused variable.
Vinson Lee
vlee at freedesktop.org
Wed May 30 00:10:43 UTC 2018
Fix build warning.
dlist-uint-uniforms.c: In function ‘piglit_init’:
dlist-uint-uniforms.c:48:11: warning: unused variable ‘glsl_version’ [-Wunused-variable]
unsigned glsl_version;
^~~~~~~~~~~~
Fixes: 6ab75f7eb5e1 ("gl-3.0: test glUniform*ui{v} functions are compiled into display lists")
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/spec/gl-3.0/dlist-uint-uniforms.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/spec/gl-3.0/dlist-uint-uniforms.c b/tests/spec/gl-3.0/dlist-uint-uniforms.c
index b1f52c98c177..c2e7e481d2c6 100644
--- a/tests/spec/gl-3.0/dlist-uint-uniforms.c
+++ b/tests/spec/gl-3.0/dlist-uint-uniforms.c
@@ -45,7 +45,6 @@ static bool Uniformui(void);
void
piglit_init(int argc, char **argv)
{
- unsigned glsl_version;
bool pass = true;
pass = Uniformui() && pass;
--
2.14.1
More information about the Piglit
mailing list