Fix clang unused-const-variable variables.

blendminmax.c:47:22: warning: unused variable 'Near' [-Wunused-const-variable]
static const GLfloat Near = 5.0, Far = 25.0;
                     ^
blendminmax.c:47:34: warning: unused variable 'Far' [-Wunused-const-variable]
static const GLfloat Near = 5.0, Far = 25.0;
                                 ^

Signed-off-by: Vinson Lee <v...@freedesktop.org>
---
 tests/general/blendminmax.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/general/blendminmax.c b/tests/general/blendminmax.c
index 61cc679..ca5c0ea 100644
--- a/tests/general/blendminmax.c
+++ b/tests/general/blendminmax.c
@@ -44,8 +44,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
 
 PIGLIT_GL_TEST_CONFIG_END
 
-static const GLfloat Near = 5.0, Far = 25.0;
-
 enum piglit_result
 piglit_display(void)
 {
-- 
1.9.1

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to