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