mirror of
https://github.com/palera1n/palera1n
synced 2025-08-21 17:37:41 +00:00
Initialize stuff_t
Signed-off-by: Nick Chan <towinchenmi@gmail.com>
This commit is contained in:
parent
b62347c73e
commit
1389887b84
@ -208,7 +208,7 @@ static const int pongo_usb_product = PONGO_USB_PRODUCT;
|
||||
|
||||
int wait_for_pongo(void) {
|
||||
kern_return_t ret;
|
||||
stuff_t stuff;
|
||||
stuff_t stuff = {0};
|
||||
io_iterator_t found, lost;
|
||||
|
||||
void* cfdict_keys[3];
|
||||
|
@ -180,8 +180,7 @@ static int LostDevice(libusb_context *ctx, libusb_device *dev, libusb_hotplug_ev
|
||||
|
||||
int wait_for_pongo(void)
|
||||
{
|
||||
stuff_t stuff;
|
||||
stuff.handle = NULL;
|
||||
stuff_t stuff = {0};
|
||||
libusb_hotplug_callback_handle hp[2];
|
||||
libusb_context* ctx = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user