Skip to content
Browse files

Fixed bug found by Coverity (using uninitialized variable) (#159)

Bug: When syncing EPG, update DB ver uninitialized

* Bump version to 3.6.0

* Bug: WHen syncing EPG, update DB ver uninitialized
  • Loading branch information
relipo committed Nov 16, 2016
1 parent 48f4315 commit d37f8ffb3d44ed6ef0844afa4455f334c3848efe
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/vbox/VBox.cpp
@@ -1044,11 +1044,11 @@ void VBox::RetrieveGuide(bool triggerEvent/* = true*/)
Log(LOG_INFO, "Fetching guide data from backend (this will take a while)");

try {
unsigned int newDBversion;
unsigned int newDBversion;
std::string progsDBVerName("ProgramsDataBaseVersion");

// if same as last fetched guide, no need for fetching again
if (!m_shouldSyncEpg && IsDBContentUpdated(progsDBVerName, m_programsDBVersion, newDBversion))
if (IsDBContentUpdated(progsDBVerName, m_programsDBVersion, newDBversion) && !m_shouldSyncEpg)

// Retrieving the whole XMLTV file is too slow so we fetch sections in

0 comments on commit d37f8ff

Please sign in to comment.
You can’t perform that action at this time.