summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2015-03-22 00:14:20 -0700
committerVinson Lee <vlee@freedesktop.org>2015-03-24 22:53:56 -0700
commitcbf36fb614fd736f1c18424fed6f202377280a9c (patch)
tree642f5396bd0ada5769c9082ba343069a5ab6a0b4
parent8f21edd3e07e9cff96c09122c51a4a379a3f2273 (diff)
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 <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r--tests/spec/glsl-1.50/execution/geometry/primitive-id-restart.c2
1 files changed, 1 insertions, 1 deletions
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;