mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:23:25 +00:00
Cleanup: avoid potentially uninitialized members
Realistically this is a false positive as we should never use a second BTDiscovery instance - but there's nothing wrong with being extra certain. Coverity CID 208319 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
84d7d80451
commit
db434702be
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ static dc_descriptor_t *getDeviceType(QString btName)
|
|||
return(NULL);
|
||||
}
|
||||
|
||||
BTDiscovery::BTDiscovery(QObject *parent)
|
||||
BTDiscovery::BTDiscovery(QObject *parent) : m_btValid(false),
|
||||
discoveryAgent(NULL)
|
||||
{
|
||||
Q_UNUSED(parent)
|
||||
if (m_instance) {
|
||||
|
|
Loading…
Add table
Reference in a new issue