[Piglit] [PATCH] blendsquare: Removed unused variables.
Vinson Lee
vlee at freedesktop.org
Wed Jun 25 16:53:40 PDT 2014
Fix clang unused-const-variable warnings.
blendsquare.c:47:22: warning: unused variable 'Near' [-Wunused-const-variable]
static const GLfloat Near = 5.0, Far = 25.0;
^
blendsquare.c:47:34: warning: unused variable 'Far' [-Wunused-const-variable]
static const GLfloat Near = 5.0, Far = 25.0;
^
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/general/blendsquare.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/general/blendsquare.c b/tests/general/blendsquare.c
index c5926ff..a7ca367 100644
--- a/tests/general/blendsquare.c
+++ b/tests/general/blendsquare.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
More information about the Piglit
mailing list