From cbf36fb614fd736f1c18424fed6f202377280a9c Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sun, 22 Mar 2015 00:14:20 -0700 Subject: glsl-1.50-geometry-primitive-id-restart: Add NORETURN attribute to print_usage_and_exit. Fix uninitialized scalar variable defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Brian Paul --- tests/spec/glsl-1.50/execution/geometry/primitive-id-restart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/glsl-1.50/execution/geometry/primitive-id-restart.c b/tests/spec/glsl-1.50/execution/geometry/primitive-id-restart.c index 1e748c390..362b48ca9 100644 --- a/tests/spec/glsl-1.50/execution/geometry/primitive-id-restart.c +++ b/tests/spec/glsl-1.50/execution/geometry/primitive-id-restart.c @@ -132,7 +132,7 @@ struct prim_type_info }; -static void +NORETURN static void print_usage_and_exit(const char *prog_name) { int i; -- cgit v1.2.3