summaryrefslogtreecommitdiff
path: root/tests/general
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2012-12-04 22:29:55 -0800
committerVinson Lee <vlee@freedesktop.org>2012-12-05 23:08:39 -0800
commit70180a741a1ce158c1059b9133280e7ed7e891e7 (patch)
tree04611f884fc6a39bc606943510c03247ba0e315d /tests/general
parentdcd19a74f3bad2f0aede30b6d4271a74d064ff28 (diff)
triangle-rasterization-overdraw: Initialize Vector member variables.
Fixes uninitialized scalar field 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/triangle-rasterization-overdraw.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/general/triangle-rasterization-overdraw.cpp b/tests/general/triangle-rasterization-overdraw.cpp
index 58b67748f..c2e567328 100644
--- a/tests/general/triangle-rasterization-overdraw.cpp
+++ b/tests/general/triangle-rasterization-overdraw.cpp
@@ -52,6 +52,7 @@
struct Vector
{
Vector()
+ : x(0), y(0)
{
}