Permalink
Browse files

MetadataLookup: fix Coverity ID 700886, 700885 Uninitialized scalar f…

…ield

MetadataLookup::MetadataLookup(): Several scalar fields are not initialized by
the constructors.
  • Loading branch information...
Paul Harrison
Paul Harrison committed Jun 2, 2013
1 parent 7e16b70 commit 8fa65f7956655a4d3f83be4027b0a8e772a5b624
Showing with 13 additions and 0 deletions.
  1. +13 −0 mythtv/libs/libmythmetadata/metadatacommon.cpp
@@ -267,8 +267,11 @@ MetadataLookup::MetadataLookup(
m_title(title),
m_categories(categories),
m_userrating(userrating),
m_ratingcount(0),
m_subtitle(subtitle),
m_description(description),
m_season(0),
m_episode(0),
m_chanid(chanid),
m_channum(channum),
m_chansign(chansign),
@@ -345,12 +348,22 @@ MetadataLookup::MetadataLookup(
m_title(title),
m_categories(categories),
m_userrating(userrating),
m_ratingcount(0),
m_subtitle(subtitle),
m_tagline(tagline),
m_description(description),
m_season(season),
m_episode(episode),
m_chanid(0),
m_programflags(0),
m_audioproperties(0),
m_videoproperties(0),
m_subtitletype(0),
m_certification(certification),
m_popularity(0),
m_budget(0),
m_revenue(0),
m_tracknum(0),
m_year(year),
m_releasedate(releasedate),
m_runtime(runtime),

0 comments on commit 8fa65f7

Please sign in to comment.