Two more warning fixes.
git-svn-id: http://voip.null.ro/svn/yate@2725 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
eb2a9cd5e0
commit
86ab316486
|
@ -105,7 +105,8 @@ XMLElement::XMLElement()
|
|||
}
|
||||
|
||||
XMLElement::XMLElement(const XMLElement& src)
|
||||
: m_type(Invalid), m_owner(true), m_element(0)
|
||||
: GenObject(),
|
||||
m_type(Invalid), m_owner(true), m_element(0)
|
||||
{
|
||||
TiXmlElement* e = src.get();
|
||||
if (!e)
|
||||
|
@ -427,10 +428,8 @@ bool XMLParser::consume(const char* data, u_int32_t len)
|
|||
String tmp = m_buffer.substr(end,m_buffer.length() - end);
|
||||
m_buffer = m_buffer.substr(0,end) << " /" << tmp;
|
||||
}
|
||||
else
|
||||
// Received end stream tag before start stream tag
|
||||
// The element will be parsed: the upper layer will deal with it
|
||||
;
|
||||
// If we received end stream tag before start stream tag
|
||||
// The element will be parsed: the upper layer will deal with it
|
||||
}
|
||||
if (!m_buffer)
|
||||
return true;
|
||||
|
|
|
@ -391,7 +391,7 @@ const char* TiXmlBase::SkipWhiteSpace( const char* p, TiXmlEncoding encoding )
|
|||
}
|
||||
else
|
||||
{
|
||||
while ( *p && IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' )
|
||||
while ( *p && ( IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' ) )
|
||||
++p;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue