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 |
|