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 <v...@freedesktop.org> --- 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 Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit