[Piglit] [PATCH] fbo-generatemipmap-array: Remove unused variable.
Vinson Lee
vlee at freedesktop.org
Wed Jun 25 16:22:59 PDT 2014
Fix clang unused-const-variable warning.
tests/fbo/fbo-generatemipmap-array.c:51:20: warning: unused variable 'red' [-Wunused-const-variable]
static const float red[] = {1, 0, 0, 0};
^
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/fbo/fbo-generatemipmap-array.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/fbo/fbo-generatemipmap-array.c b/tests/fbo/fbo-generatemipmap-array.c
index 642a540..f95a071 100644
--- a/tests/fbo/fbo-generatemipmap-array.c
+++ b/tests/fbo/fbo-generatemipmap-array.c
@@ -48,7 +48,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
PIGLIT_GL_TEST_CONFIG_END
-static const float red[] = {1, 0, 0, 0};
static const float green[] = {0, 1, 0, 0};
static const float blue[] = {0, 0, 1, 0};
static const float white[] = {1, 1, 1, 1};
--
1.9.1
More information about the Piglit
mailing list