From 41f90967c05af5be788183da3cf71a02bd5c2d30 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 24 Feb 2019 17:40:27 +0100 Subject: tracker/wii: fix uninitialized read --- tracker-wii/wii_camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3