mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 02:29:48 +02:00
usb_libusb.c: initialize variable stuff.handle (#392)
initialize stuff.handle, or function FoundDevice would return directly.
This commit is contained in:
1 parent
e6033f31cc
commit
3b4340525d
1 file changed
+1
@@ -181,6 +181,7 @@ static int LostDevice(libusb_context *ctx, libusb_device *dev, libusb_hotplug_ev
|
||||
int wait_for_pongo(void)
|
||||
{
|
||||
stuff_t stuff;
|
||||
stuff.handle = NULL;
|
||||
libusb_hotplug_callback_handle hp[2];
|
||||
libusb_context* ctx = NULL;
|
||||
|
||||
|
||||
Reference in new issue
Block a user