View | Details | Raw Unified | Return to bug 216075
Collapse All | Expand All

(-)multimedia/kodi/files/patch-xbmc_utils_RssReader.cpp (+18 lines)
Line 0 Link Here
1
Fix bogus pointer comparisons.
2
3
--- xbmc/utils/RssReader.cpp.orig	2017-01-21 21:11:51 UTC
4
+++ xbmc/utils/RssReader.cpp
5
@@ -266,11 +266,11 @@ void CRssReader::GetNewsItems(TiXmlEleme
6
   if (m_tagSet.empty())
7
     AddTag("title");
8
 
9
-  while (itemNode > 0)
10
+  while (itemNode)
11
   {
12
     TiXmlNode* childNode = itemNode->FirstChild();
13
     mTagElements.clear();
14
-    while (childNode > 0)
15
+    while (childNode)
16
     {
17
       std::string strName = childNode->ValueStr();
18
 

Return to bug 216075