[Piglit] [PATCH] arb_program_interface_query: Remove unused variable.
Vinson Lee
vlee at freedesktop.org
Wed Mar 4 18:28:12 PST 2015
Fix GCC unused-variable warning.
resource-index.c: In function ‘piglit_init’:
resource-index.c:211:23: warning: unused variable ‘i’ [-Wunused-variable]
GLuint prog, shader, i;
^
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/spec/arb_program_interface_query/resource-index.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/arb_program_interface_query/resource-index.c b/tests/spec/arb_program_interface_query/resource-index.c
index 2fd98a5..d39ac0c 100644
--- a/tests/spec/arb_program_interface_query/resource-index.c
+++ b/tests/spec/arb_program_interface_query/resource-index.c
@@ -208,7 +208,7 @@ atomic_counter_index_test()
void
piglit_init(int argc, char **argv)
{
- GLuint prog, shader, i;
+ GLuint prog, shader;
bool pass = true;
const char **marker = xfb_markers;
--
2.1.0
More information about the Piglit
mailing list