On Mon, Jan 27, 2014 at 08:11:00PM -0800, Vinson Lee wrote:
> This patch fixes this GCC unused-label warning.
> 
> buffer-flags.c: In function ‘piglit_cl_test’:
> buffer-flags.c:222:1: warning: label ‘out’ defined but not used 
> [-Wunused-label]
>  out:
>  ^
> 
> Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
> ---
>  tests/cl/custom/buffer-flags.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/tests/cl/custom/buffer-flags.c b/tests/cl/custom/buffer-flags.c
> index 321d75f..6bf988f 100644
> --- a/tests/cl/custom/buffer-flags.c
> +++ b/tests/cl/custom/buffer-flags.c
> @@ -219,7 +219,6 @@ piglit_cl_test(const int argc,
>                       piglit_merge_result(&ret, part_ret);
>               }
>  
> -out:
>       clReleaseProgram(program);
>       piglit_cl_release_context(context);
>       return ret;
> -- 
> 1.8.3.2
> 
> _______________________________________________
> Piglit mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/piglit
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to