[Piglit] [PATCH] arb_shading_language_420pack: Remove unused variable.
Vinson Lee
vlee at freedesktop.org
Thu Feb 19 23:24:11 PST 2015
Fix Clang unused-const-variable warning.
binding-layout.c:80:20: warning: unused variable 'a' [-Wunused-const-variable]
static const float a[] = { 0.f, 1.f, 0.f, 1.f };
^
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/spec/arb_shading_language_420pack/execution/binding-layout.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/spec/arb_shading_language_420pack/execution/binding-layout.c b/tests/spec/arb_shading_language_420pack/execution/binding-layout.c
index 525b626..bda43dd 100644
--- a/tests/spec/arb_shading_language_420pack/execution/binding-layout.c
+++ b/tests/spec/arb_shading_language_420pack/execution/binding-layout.c
@@ -77,8 +77,6 @@ static const char *frag150_source =
"void main() { o = (u[0].a + u[1].a) / 5.0; }\n"
;
-static const float a[] = { 0.f, 1.f, 0.f, 1.f };
-
static GLuint prog140 = 0;
static GLuint prog150 = 0;
--
2.2.1
More information about the Piglit
mailing list