diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-24 17:40:27 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-24 17:40:27 +0100 |
commit | 41f90967c05af5be788183da3cf71a02bd5c2d30 (patch) | |
tree | b76e304f48ce96704d2412fdfd42a6fb01b3c329 /tracker-wii/wii_camera.cpp | |
parent | 5454c3b3baaf218c5b4edc90c0292a0b2f60ded3 (diff) |
tracker/wii: fix uninitialized read
Diffstat (limited to 'tracker-wii/wii_camera.cpp')
-rw-r--r-- | tracker-wii/wii_camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-wii/wii_camera.cpp b/tracker-wii/wii_camera.cpp index a393b843..25173bb7 100644 --- a/tracker-wii/wii_camera.cpp +++ b/tracker-wii/wii_camera.cpp @@ -150,7 +150,7 @@ wii_camera_status WIICamera::pair() if (ERROR_SUCCESS != BluetoothGetRadioInfo(hbtlist[i], &btinfo)) {break;} HBLUETOOTH_DEVICE_FIND hbtdevfd; - BLUETOOTH_DEVICE_SEARCH_PARAMS btdevparam; + BLUETOOTH_DEVICE_SEARCH_PARAMS btdevparam {}; BLUETOOTH_DEVICE_INFO btdevinfo; btdevinfo.dwSize = sizeof(btdevinfo); |