Skip to content

Commit

Permalink
AnalogSignalMonitor: Fix Coverity ID 700903 Uninitialized scalar field
Browse files Browse the repository at this point in the history
m_version can be left uninitialized by the constructor.
  • Loading branch information
Paul Harrison committed Jun 24, 2013
1 parent 2ac8058 commit eaea397
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/recorders/analogsignalmonitor.cpp
Expand Up @@ -20,8 +20,8 @@
AnalogSignalMonitor::AnalogSignalMonitor(
int db_cardnum, V4LChannel *_channel, uint64_t _flags) :
SignalMonitor(db_cardnum, _channel, _flags),
m_usingv4l2(false), m_width(0), m_stable_time(2000), m_lock_cnt(0),
m_lock_timeout(1000 * 30 /* 30 seconds */)
m_usingv4l2(false), m_version(0), m_width(0), m_stable_time(2000),
m_lock_cnt(0), m_lock_timeout(1000 * 30 /* 30 seconds */)
{
int videofd = channel->GetFd();
if (videofd >= 0)
Expand Down

0 comments on commit eaea397

Please sign in to comment.