HIDListenerUdev: Avoid -Wmaybe-uninitialized with GCC 9

This commit is contained in:
Luke Street 2021-03-01 17:25:51 -05:00
parent 88cc539f16
commit a1209cdad7
1 changed files with 1 additions and 1 deletions

View File

@ -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;