mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Avoid possible uninitialized memory read
Coverity CID 1325286 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b41773734b
commit
5a6aaec490
1 changed files with 1 additions and 1 deletions
|
@ -1746,7 +1746,7 @@ ResetSettingsThread::ResetSettingsThread(QObject *parent, device_data_t *data) :
|
|||
|
||||
void ResetSettingsThread::run()
|
||||
{
|
||||
dc_status_t rc;
|
||||
dc_status_t rc = DC_STATUS_SUCCESS;
|
||||
|
||||
#if DC_VERSION_CHECK(0, 5, 0)
|
||||
if (dc_device_get_type(m_data->device) == DC_FAMILY_HW_OSTC3) {
|
||||
|
|
Loading…
Add table
Reference in a new issue