summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothsocket_winrt.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2018-01-24 10:41:46 +0100
committerAndy Shaw <andy.shaw@qt.io>2018-01-24 09:55:24 +0000
commitdd2e19ca327a3f7a49c40b61c483ec60dcaafa90 (patch)
tree9e73a3e23f72f007b42c6ee705057c2038bc2396 /src/bluetooth/qbluetoothsocket_winrt.cpp
parentb5e90f9e554997254fb54255339578e92234d5bb (diff)
Initialize the discoveryAgent variable to 0
Change-Id: Ief783e899cde02ae033be8cd3af61ab5572d81a5 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothsocket_winrt.cpp')
-rw-r--r--src/bluetooth/qbluetoothsocket_winrt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothsocket_winrt.cpp b/src/bluetooth/qbluetoothsocket_winrt.cpp
index 501ffd74..17eeb195 100644
--- a/src/bluetooth/qbluetoothsocket_winrt.cpp
+++ b/src/bluetooth/qbluetoothsocket_winrt.cpp
@@ -309,6 +309,7 @@ QBluetoothSocketPrivate::QBluetoothSocketPrivate()
socketType(QBluetoothServiceInfo::UnknownProtocol),
state(QBluetoothSocket::UnconnectedState),
socketError(QBluetoothSocket::NoSocketError),
+ discoveryAgent(0),
secFlags(QBluetooth::NoSecurity),
m_worker(new SocketWorker())
{