Ticket #5115: libs_libmythtv_eitscanner.cpp-init-EITScanner.patch

File libs_libmythtv_eitscanner.cpp-init-EITScanner.patch, 1.0 KB (added by Erik Hovland <erik@…>, 12 years ago)

inits member vars in EITScanner ctor

  • libs/libmythtv/eitscanner.cpp

    Some member variables in EITScanner are not initialized.
    
    From: Erik Hovland <erik@hovland.org>
    
    
    ---
    
     libs/libmythtv/eitscanner.cpp |    7 +++++--
     1 files changed, 5 insertions(+), 2 deletions(-)
    
    diff --git a/libs/libmythtv/eitscanner.cpp b/libs/libmythtv/eitscanner.cpp
    index aff0dce..b11d2cc 100644
    a b QDateTime EITScanner::resched_next_time = QDateTime::currentDateTime(); 
    4040const uint EITScanner::kMinRescheduleInterval = 150;
    4141
    4242EITScanner::EITScanner(uint _cardnum)
    43     : channel(NULL), eitSource(NULL), eitHelper(new EITHelper()),
    44       exitThread(false), rec(NULL), activeScan(false), cardnum(_cardnum)
     43    : channel(NULL),              eitSource(NULL),
     44      eitHelper(new EITHelper()), exitThread(false),
     45      rec(NULL),                  activeScan(false),
     46      activeScanTrigTime(0),      ignore_source(false),
     47      cardnum(_cardnum)
    4548{
    4649    QStringList langPref = iso639_get_language_list();
    4750    eitHelper->SetLanguagePreferences(langPref);