[Piglit] [PATCH] active-sampler-conflict.c: remove unused variable

Dylan Baker baker.dylan.c at gmail.com
Wed Aug 5 16:53:09 PDT 2015


This silences a GCC warning

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 tests/spec/arb_separate_shader_objects/active-sampler-conflict.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c b/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c
index a03b74d..0a91f49 100644
--- a/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c
+++ b/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c
@@ -248,7 +248,6 @@ void piglit_init(int argc, char **argv)
 	GLuint pipe;
 	GLuint vao;
 	GLuint bo;
-	GLint s_loc;
 	char *s2_uni_name = "s2";
 	char *s3_uni_name = "s3";
 	char *s2_uni_array_name = "s2[1]";
-- 
2.5.0



More information about the Piglit mailing list