diff options
author | Vinson Lee <vlee@freedesktop.org> | 2015-03-04 18:28:12 -0800 |
---|---|---|
committer | Tapani Pälli <tapani.palli@intel.com> | 2015-03-05 07:16:10 +0200 |
commit | 8cede4c491d3f852aee9b7e090507a4b5dd59f66 (patch) | |
tree | 236f5d03a79cfde3c2127dd02159224620572740 /tests/spec | |
parent | 2b94faec18dc1f8f0d9241ec731408959320cd7c (diff) |
arb_program_interface_query: Remove unused variable.
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@freedesktop.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'tests/spec')
-rw-r--r-- | tests/spec/arb_program_interface_query/resource-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/arb_program_interface_query/resource-index.c b/tests/spec/arb_program_interface_query/resource-index.c index 2fd98a56c..d39ac0cb9 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; |