mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 09:26:25 +00:00
Fixed build warning
This commit is contained in:
@@ -430,7 +430,6 @@ GetDeviceInfo(IOHIDDeviceRef hidDevice, recDevice *pDevice)
|
|||||||
char product_string[256];
|
char product_string[256];
|
||||||
CFTypeRef refCF = NULL;
|
CFTypeRef refCF = NULL;
|
||||||
CFArrayRef array = NULL;
|
CFArrayRef array = NULL;
|
||||||
Uint16 *guid16 = (Uint16 *)pDevice->guid.data;
|
|
||||||
|
|
||||||
/* get usage page and usage */
|
/* get usage page and usage */
|
||||||
refCF = IOHIDDeviceGetProperty(hidDevice, CFSTR(kIOHIDPrimaryUsagePageKey));
|
refCF = IOHIDDeviceGetProperty(hidDevice, CFSTR(kIOHIDPrimaryUsagePageKey));
|
||||||
|
Reference in New Issue
Block a user