[Piglit] [PATCH] arb_program_interface_query: Remove unused variable.
Tapani
tapani.palli at intel.com
Wed Mar 4 21:19:26 PST 2015
r-b and pushed to master, thanks!
On 03/05/2015 04:28 AM, Vinson Lee wrote:
> 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;
>
More information about the Piglit
mailing list