Skip to content

Commit

Permalink
Fixed build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 13, 2020
1 parent c44473b commit 5722e88
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/joystick/darwin/SDL_sysjoystick.c
Expand Up @@ -405,13 +405,11 @@ GetDeviceInfo(IOHIDDeviceRef hidDevice, recDevice *pDevice)
Sint32 product = 0;
Sint32 version = 0;
char *name;
const char *manufacturer_remapped;
char manufacturer_string[256];
char product_string[256];
CFTypeRef refCF = NULL;
CFArrayRef array = NULL;
Uint16 *guid16 = (Uint16 *)pDevice->guid.data;
int i;

/* get usage page and usage */
refCF = IOHIDDeviceGetProperty(hidDevice, CFSTR(kIOHIDPrimaryUsagePageKey));
Expand Down

0 comments on commit 5722e88

Please sign in to comment.