diff options
author | Sven Gothel <[email protected]> | 2022-04-15 18:01:28 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-04-15 18:01:28 +0200 |
commit | 7cf37805d1e1e08608104465a800a6ecac2f4815 (patch) | |
tree | a848fdd2ba12a540a3e3d337c661872137033368 /src/direct_bt/BTAdapter.cpp | |
parent | 85c5376ff3385bb6695b7bd05405603d1523269b (diff) |
Fix uninitialized fields (valgrind conditional jump) in BTAdapter, BTDevice and HCIHandler, shown w/ DBG_PRINT()
dbt_scanner10 is now clean of valgrind w/ tool=memcheck
Diffstat (limited to 'src/direct_bt/BTAdapter.cpp')
-rw-r--r-- | src/direct_bt/BTAdapter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/direct_bt/BTAdapter.cpp b/src/direct_bt/BTAdapter.cpp index bed5a490..bbbabd65 100644 --- a/src/direct_bt/BTAdapter.cpp +++ b/src/direct_bt/BTAdapter.cpp @@ -381,6 +381,7 @@ BTAdapter::BTAdapter(const BTAdapter::ctor_cookie& cc, BTManager& mgmt_, const A adapterInfo( adapterInfo_ ), adapter_initialized( false ), adapter_poweredon_at_init( false ), le_features( LE_Features::NONE ), + hci_uses_ext_scan( false ), hci_uses_ext_conn( false ), hci_uses_ext_adv( false ), visibleAddressAndType( adapterInfo_.addressAndType ), dev_id( adapterInfo.dev_id ), btRole ( BTRole::Master ), |