1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-20 20:20:30 -04:00
ports/multimedia/kodi/files/patch-xbmc_utils_RssReader.cpp
Guido Falsi 2452e02db4 - Update kodi to 17.6
- Renamed patches to use modern naming convention
- Regenerated a few other paatches

PR:		224301
Submitted by:	me
Approved by:	maintainer timeout
2017-12-28 09:17:14 +00:00

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();