summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-18 12:32:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-18 15:18:11 +0000
commit06b44f99610ea64a86dda2e3e5da9a98c4a495d7 (patch)
treee141bf1f9619870c0355f9d004b405262eca8e26 /test
parent02c17c1dd3b2de7360a17f48da8366e7f9b31e40 (diff)
coverity#738915 Uninitialized scalar field
Change-Id: I1ac675441b50ceab7df78fb9646e4e1bd8e6e36e
Diffstat (limited to 'test')
-rw-r--r--test/source/diff/diff.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/source/diff/diff.cxx b/test/source/diff/diff.cxx
index 567ec804d448..bb460f788930 100644
--- a/test/source/diff/diff.cxx
+++ b/test/source/diff/diff.cxx
@@ -38,9 +38,11 @@ struct tolerance
}
tolerance()
+ : elementName(NULL)
+ , attribName(NULL)
+ , relative(false)
+ , value(0.0)
{
- elementName = NULL;
- attribName = NULL;
}
tolerance(const tolerance& tol)