aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Kortstiege <mkortstiege@kodi.tv>2015-11-04 08:23:57 +0100
committerMatthias Kortstiege <mkortstiege@kodi.tv>2015-11-04 09:11:02 +0100
commit42c1f25be9222c98d04e779d5a73cdf42d91da2d (patch)
tree40a232fe30ac42fbbe0ce8d97bc661074dac7e74
parent3f7e54e5748a15db78fc5a36d8f5dac0b40fc548 (diff)
[coverity] CID#1316471 class member 'm_doContentLookup' is not initialized
-rw-r--r--xbmc/FileItem.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/FileItem.cpp b/xbmc/FileItem.cpp
index b115e6c7a2..d3ea6813da 100644
--- a/xbmc/FileItem.cpp
+++ b/xbmc/FileItem.cpp
@@ -402,6 +402,7 @@ const CFileItem& CFileItem::operator=(const CFileItem& item)
m_extrainfo = item.m_extrainfo;
m_specialSort = item.m_specialSort;
m_bIsAlbum = item.m_bIsAlbum;
+ m_doContentLookup = item.m_doContentLookup;
return *this;
}
@@ -491,6 +492,7 @@ void CFileItem::Archive(CArchive& ar)
ar << m_mimetype;
ar << m_extrainfo;
ar << m_specialSort;
+ ar << m_doContentLookup;
if (m_musicInfoTag)
{
@@ -548,6 +550,7 @@ void CFileItem::Archive(CArchive& ar)
ar >> m_extrainfo;
ar >> temp;
m_specialSort = (SortSpecial)temp;
+ ar >> m_doContentLookup;
int iType;
ar >> iType;