Fix segfault

This commit is contained in:
Adam Honse 2020-02-04 20:22:01 -06:00
parent 6a6ad0dda6
commit 8aee3c427b
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@
void DetectHyperXKeyboardControllers(std::vector<RGBController*>& rgb_controllers)
{
hid_device_info* info;
hid_device* dev;
hid_device* dev = NULL;
hid_init();