Skip to content

Commit

Permalink
Initialise ret to kCategoryNone in QueryCategoryType. Fixes coverity …
Browse files Browse the repository at this point in the history
…issue 1023897
  • Loading branch information
stuartm committed May 25, 2013
1 parent f11ca08 commit 423e866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmyth/programinfo.cpp
Expand Up @@ -2638,7 +2638,7 @@ void ProgramInfo::SaveDVDBookmark(const QStringList &fields) const
*/
ProgramInfo::CategoryType ProgramInfo::QueryCategoryType(void) const
{
CategoryType ret;
CategoryType ret = kCategoryNone;

MSqlQuery query(MSqlQuery::InitCon());

Expand Down

0 comments on commit 423e866

Please sign in to comment.