Explorar o código

Fixed build warning

Sam Lantinga %!s(int64=3) %!d(string=hai) anos
pai
achega
eb046958da
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/joystick/darwin/SDL_iokitjoystick.c

+ 0 - 1
src/joystick/darwin/SDL_iokitjoystick.c

@@ -430,7 +430,6 @@ GetDeviceInfo(IOHIDDeviceRef hidDevice, recDevice *pDevice)
     char product_string[256];
     CFTypeRef refCF = NULL;
     CFArrayRef array = NULL;
-    Uint16 *guid16 = (Uint16 *)pDevice->guid.data;
 
     /* get usage page and usage */
     refCF = IOHIDDeviceGetProperty(hidDevice, CFSTR(kIOHIDPrimaryUsagePageKey));