diff options
author | Vinson Lee <vlee@freedesktop.org> | 2012-12-04 22:29:55 -0800 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2012-12-05 23:08:39 -0800 |
commit | 70180a741a1ce158c1059b9133280e7ed7e891e7 (patch) | |
tree | 04611f884fc6a39bc606943510c03247ba0e315d /tests/general | |
parent | dcd19a74f3bad2f0aede30b6d4271a74d064ff28 (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.cpp | 1 |
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) { } |