diff options
author | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-12-07 06:35:53 +0000 |
---|---|---|
committer | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-12-07 06:35:53 +0000 |
commit | 9b9a414ab63d896560dc501266100695b9704c06 (patch) | |
tree | 50a38064b70565fd61dcf31ad43dba56a0fee35b /tests/test_dom_traverse.cpp | |
parent | 26444f90a986fbe3079c9e876e9ebe008dd9588a (diff) |
Compatibility fixes (fixed warnings in gcc, msvc7, fixed errors in bcc, cw, msvc6)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@939 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_dom_traverse.cpp')
-rw-r--r-- | tests/test_dom_traverse.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_dom_traverse.cpp b/tests/test_dom_traverse.cpp index 1af8572..d699c5e 100644 --- a/tests/test_dom_traverse.cpp +++ b/tests/test_dom_traverse.cpp @@ -545,6 +545,8 @@ TEST(dom_node_find_child_by_attribute_null) xml_node node2 = doc.append_child(STR("a")); xml_node node3 = doc.append_child(STR("a")); + (void)node0; + // this adds an attribute with null name and/or value in the internal representation node1.append_attribute(STR("")); node2.append_attribute(STR("id")); |