summaryrefslogtreecommitdiff
path: root/test/source/diff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-03-18 17:08:59 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-03-18 17:15:57 +0100
commit1af22c05c6b1bb2cee534146d9049da0c7e0f9bc (patch)
tree2981c1e63399b9d69b418eb28ee7783d18885ca6 /test/source/diff
parent2c17beb796a29e7d160522a800e647ddd7a8b2b3 (diff)
fix other problems found by Wundef
Change-Id: Ib4aba95436f82d2a20b07a092f0fd07e0620fdcf
Diffstat (limited to 'test/source/diff')
-rw-r--r--test/source/diff/diff.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/diff/diff.cxx b/test/source/diff/diff.cxx
index 8757104bf43e..361d6f3d562d 100644
--- a/test/source/diff/diff.cxx
+++ b/test/source/diff/diff.cxx
@@ -354,7 +354,7 @@ bool XMLDiff::compareAttributes(xmlNodePtr node1, xmlNodePtr node2)
}
// unequal number of attributes
-#if CPPUNIT_ASSERT
+#ifdef CPPUNIT_ASSERT
CPPUNIT_ASSERT(!attr1);
CPPUNIT_ASSERT(!attr2);
#else