summaryrefslogtreecommitdiff
path: root/tests/general
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2014-02-08 12:36:53 -0800
committerVinson Lee <vlee@freedesktop.org>2014-02-08 13:54:16 -0800
commit29704100aacea6c8ce1b1e97329c83ef90f32fad (patch)
treef778f529a754627df0b33dae4f8f9d7ad6457433 /tests/general
parent2afcc8f87ddfe8d300d4edd7baf16ac6bccb65ec (diff)
line-flat-clip-color: Initialize variable.
Fixes "Uninitialized scalar variable" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'tests/general')
-rw-r--r--tests/general/line-flat-clip-color.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general/line-flat-clip-color.c b/tests/general/line-flat-clip-color.c
index 4cf37b2de..eb771dc0f 100644
--- a/tests/general/line-flat-clip-color.c
+++ b/tests/general/line-flat-clip-color.c
@@ -55,7 +55,7 @@ static bool have_pv = false;
static bool
test_one(int order, const float expected[3])
{
- bool pass;
+ bool pass = false;
int dy, y = piglit_height / 2;
glClear(GL_COLOR_BUFFER_BIT);