From c0a4c46d61d9ab1506a8e0529d3492bcc20d096c Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Sat, 28 Apr 2012 19:15:24 +0200 Subject: WaE: tolerance.elementName & tolerance.attribName may be used uninitialized Change-Id: I0145b6fd7bf87a634588633d95650f9062f2485e --- test/inc/test/xmldiff.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') 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) { -- cgit