mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 13:37:48 +00:00
HIDListenerUdev: Avoid -Wmaybe-uninitialized with GCC 9
This commit is contained in:
@@ -39,7 +39,7 @@ class HIDListenerUdev final : public IHIDListener {
|
|||||||
|
|
||||||
/* Filter to USB/BT */
|
/* Filter to USB/BT */
|
||||||
const char* dt = udev_device_get_devtype(device);
|
const char* dt = udev_device_get_devtype(device);
|
||||||
DeviceType type;
|
DeviceType type = DeviceType::None;
|
||||||
int vid = 0, pid = 0;
|
int vid = 0, pid = 0;
|
||||||
const char* manuf = nullptr;
|
const char* manuf = nullptr;
|
||||||
const char* product = nullptr;
|
const char* product = nullptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user