Coverity does not the parse the shader and cannot determine all cases are being handled.
Fixes Coverity "uninitialized scalar variable" defects. Signed-off-by: Vinson Lee <v...@freedesktop.org> --- tests/spec/arb_gpu_shader_fp64/execution/getuniformdv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/spec/arb_gpu_shader_fp64/execution/getuniformdv.c b/tests/spec/arb_gpu_shader_fp64/execution/getuniformdv.c index 5f7d85e..80ec945 100644 --- a/tests/spec/arb_gpu_shader_fp64/execution/getuniformdv.c +++ b/tests/spec/arb_gpu_shader_fp64/execution/getuniformdv.c @@ -152,6 +152,10 @@ piglit_init(int argc, char **argv) } else if (name[0] == 'b') { expectedType = GL_BOOL; expectedSize = 1; + } else { + assert(0); + expectedType = GL_NONE; + expectedSize = 0; } if (type != expectedType) { -- 2.6.3 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit