From eb046958da719ad8c142cc96eda2c244e5b2522e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 16 Sep 2022 08:19:45 -0700 Subject: [PATCH] Fixed build warning --- src/joystick/darwin/SDL_iokitjoystick.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/joystick/darwin/SDL_iokitjoystick.c b/src/joystick/darwin/SDL_iokitjoystick.c index 40d8a38cb..de43c97f3 100644 --- a/src/joystick/darwin/SDL_iokitjoystick.c +++ b/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));