summaryrefslogtreecommitdiff
path: root/test/inc
diff options
context:
space:
mode:
authorDavid Ostrovsky <David.Ostrovsky@gmx.de>2012-04-28 19:15:24 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-29 03:15:57 +0200
commitc0a4c46d61d9ab1506a8e0529d3492bcc20d096c (patch)
tree5a9040cbbebdae4991629b94d84c37e0c4d6ffeb /test/inc
parentced137e6b9c767c5d6fe5cd537c735bb216f9fc6 (diff)
WaE: tolerance.elementName & tolerance.attribName may be used uninitialized
Change-Id: I0145b6fd7bf87a634588633d95650f9062f2485e
Diffstat (limited to 'test/inc')
-rw-r--r--test/inc/test/xmldiff.hxx6
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)
{