On Thursday 22 October 2015 22:46:27 Vinson Lee wrote: > create-context.c:141:15: warning: unused variable 'num_platform_ids' > [-Wunused-variable] unsigned int num_platform_ids; > ^ > create-context.c:139:7: warning: unused variable 'found_invalid_platform' > [-Wunused-variable] bool found_invalid_platform = false; > ^ > create-context.c:140:18: warning: unused variable 'platform_ids' > [-Wunused-variable] cl_platform_id* platform_ids; > ^ > > Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Serge Martin <[email protected]> > --- > tests/cl/api/create-context.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/tests/cl/api/create-context.c b/tests/cl/api/create-context.c > index 551f8a2..4999bbf 100644 > --- a/tests/cl/api/create-context.c > +++ b/tests/cl/api/create-context.c > @@ -136,9 +136,6 @@ piglit_cl_test(const int argc, > cl_device_id* devices; > cl_context cl_ctx; > > - bool found_invalid_platform = false; > - cl_platform_id* platform_ids; > - unsigned int num_platform_ids; > cl_platform_id invalid_platform_id = NULL; > > //TODO: test also CL_CONTEXT_INTEROP_USER_SYNC _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
