Commit d54e84c2 authored by Vinson Lee's avatar Vinson Lee

gl-3.0: Remove unused variable.

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: 6ab75f7e ("gl-3.0: test glUniform*ui{v} functions are compiled into display lists")
Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: Timothy Arceri's avatarTimothy Arceri <tarceri@itsqueeze.com>
parent 3e4fea9b
......@@ -45,7 +45,6 @@ static bool Uniformui(void);
void
piglit_init(int argc, char **argv)
{
unsigned glsl_version;
bool pass = true;
pass = Uniformui() && pass;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment