Skip to content

Commit

Permalink
Fix uninitialized object member in HDHomeRunConfigurationGroup::FillD…
Browse files Browse the repository at this point in the history
…eviceList.

Fixes coverity issue 1442052.
  • Loading branch information
linuxdude42 committed Apr 8, 2019
1 parent a54dbf5 commit 666d0f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/libs/libmythtv/videosource.cpp
Expand Up @@ -1370,6 +1370,9 @@ void HDHomeRunConfigurationGroup::FillDeviceList(void)
tmpdevice.model = model;
tmpdevice.cardip = devip;
tmpdevice.deviceid = devid;
// Fully specify object. Checkboxes will be added later when
// the configuration group is created.
tmpdevice.checkbox = nullptr;
m_deviceList[tmpdevice.deviceid] = tmpdevice;
}

Expand Down

0 comments on commit 666d0f8

Please sign in to comment.