[Piglit] [PATCH] cl-custom-buffer-flags: Remove unused label.
Vinson Lee
vlee at freedesktop.org
Mon Jan 27 20:11:00 PST 2014
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 <vlee at 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
More information about the Piglit
mailing list