summaryrefslogtreecommitdiff
path: root/tests/general
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2014-06-25 16:56:47 -0700
committerVinson Lee <vlee@freedesktop.org>2014-06-26 15:20:35 -0700
commitcf8ebc82db98dc011020e5937360d6ce69d49493 (patch)
tree10ccfae573379895f6ae8155c102d5faaffcc4c2 /tests/general
parentcf69ba9c1effc21a3ddccd735be4892cd98748d0 (diff)
stencil-twoside: Remove unused variables.
Fix clang unused-const-variable warnings. stencil-twoside.c:50:22: warning: unused variable 'Near' [-Wunused-const-variable] static const GLfloat Near = 5.0, Far = 25.0; ^ stencil-twoside.c:50:34: warning: unused variable 'Far' [-Wunused-const-variable] static const GLfloat Near = 5.0, Far = 25.0; ^ Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'tests/general')
-rw-r--r--tests/general/stencil-twoside.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/general/stencil-twoside.c b/tests/general/stencil-twoside.c
index 396c9a115..00f9d016b 100644
--- a/tests/general/stencil-twoside.c
+++ b/tests/general/stencil-twoside.c
@@ -47,9 +47,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)
{