added (unnecesary) initialization of pointer to make the compiler happy
This commit is contained in:
parent
e85731b8e6
commit
e68598ebb9
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: fgerlits $
|
Author : $Author: fgerlits $
|
||||||
Version : $Revision: 1.3 $
|
Version : $Revision: 1.4 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/src/XmlRpcToolsTest.cxx,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/src/XmlRpcToolsTest.cxx,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -141,9 +141,10 @@ XmlRpcToolsTest :: firstTest(void)
|
||||||
xmlpp::DomParser parser;
|
xmlpp::DomParser parser;
|
||||||
CPPUNIT_ASSERT_NO_THROW(parser.parse_memory(std::string(
|
CPPUNIT_ASSERT_NO_THROW(parser.parse_memory(std::string(
|
||||||
xmlRpcPlaylist["playlist"] )));
|
xmlRpcPlaylist["playlist"] )));
|
||||||
xmlpp::Element* configElement;
|
xmlpp::Element* configElement = 0;
|
||||||
CPPUNIT_ASSERT_NO_THROW(configElement = parser.get_document()
|
CPPUNIT_ASSERT_NO_THROW(configElement = parser.get_document()
|
||||||
->get_root_node());
|
->get_root_node());
|
||||||
|
CPPUNIT_ASSERT(configElement);
|
||||||
CPPUNIT_ASSERT_NO_THROW(copyOfPlaylist->configure(*configElement));
|
CPPUNIT_ASSERT_NO_THROW(copyOfPlaylist->configure(*configElement));
|
||||||
|
|
||||||
CPPUNIT_ASSERT(*copyOfPlaylist->getId() == *playlist->getId());
|
CPPUNIT_ASSERT(*copyOfPlaylist->getId() == *playlist->getId());
|
||||||
|
|
Loading…
Reference in New Issue