mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 20:20:30 -04:00
- Renamed patches to use modern naming convention - Regenerated a few other paatches PR: 224301 Submitted by: me Approved by: maintainer timeout
18 lines
484 B
C++
18 lines
484 B
C++
Fix bogus pointer comparisons.
|
|
|
|
--- xbmc/utils/RssReader.cpp.orig 2017-11-14 16:55:01 UTC
|
|
+++ xbmc/utils/RssReader.cpp
|
|
@@ -269,11 +269,11 @@ void CRssReader::GetNewsItems(TiXmlElement* channelXml
|
|
if (m_tagSet.empty())
|
|
AddTag("title");
|
|
|
|
- while (itemNode > 0)
|
|
+ while (itemNode)
|
|
{
|
|
TiXmlNode* childNode = itemNode->FirstChild();
|
|
mTagElements.clear();
|
|
- while (childNode > 0)
|
|
+ while (childNode)
|
|
{
|
|
std::string strName = childNode->ValueStr();
|
|
|