Skip to content

Commit

Permalink
ResultItem: fix Coverity ID 700806 Uninitialized scalar field
Browse files Browse the repository at this point in the history
In ResultItem::ResultItem(): Several scalar fields are not initialized
by the constructor.
  • Loading branch information
Paul Harrison committed Jun 2, 2013
1 parent 63f22f4 commit 7e16b70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mythtv/libs/libmyth/rssparse.cpp
Expand Up @@ -57,9 +57,10 @@ ResultItem::ResultItem(const QString& title, const QString& subtitle,
m_customhtml = customhtml;
}

ResultItem::ResultItem()
ResultItem::ResultItem() :
m_date(QDateTime()), m_filesize(0), m_width(0), m_height(0),
m_downloadable(false), m_season(0), m_episode(0), m_customhtml(false)
{
m_date = QDateTime();
}

ResultItem::~ResultItem()
Expand Down

0 comments on commit 7e16b70

Please sign in to comment.