diff options
author | David Ostrovsky <David.Ostrovsky@gmx.de> | 2012-04-28 19:15:24 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-04-29 03:15:57 +0200 |
commit | c0a4c46d61d9ab1506a8e0529d3492bcc20d096c (patch) | |
tree | 5a9040cbbebdae4991629b94d84c37e0c4d6ffeb /test | |
parent | ced137e6b9c767c5d6fe5cd537c735bb216f9fc6 (diff) |
WaE: tolerance.elementName & tolerance.attribName may be used uninitialized
Change-Id: I0145b6fd7bf87a634588633d95650f9062f2485e
Diffstat (limited to 'test')
-rw-r--r-- | test/inc/test/xmldiff.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/inc/test/xmldiff.hxx b/test/inc/test/xmldiff.hxx index c0926371b8e0..8a3d93d83061 100644 --- a/test/inc/test/xmldiff.hxx +++ b/test/inc/test/xmldiff.hxx @@ -43,7 +43,11 @@ struct tolerance xmlFree(attribName); } - tolerance() {} + tolerance() + { + elementName = NULL; + attribName = NULL; + } tolerance(const tolerance& tol) { |