Fixed build warnings
authorSam Lantinga <slouken@libsdl.org>
Thu, 12 Mar 2020 19:49:33 -0700
changeset 1361266b28c199af1
parent 13611 bcbfec15e25f
child 13613 65d1b7b419a2
Fixed build warnings
src/joystick/darwin/SDL_sysjoystick.c
     1.1 --- a/src/joystick/darwin/SDL_sysjoystick.c	Thu Mar 12 19:47:30 2020 -0700
     1.2 +++ b/src/joystick/darwin/SDL_sysjoystick.c	Thu Mar 12 19:49:33 2020 -0700
     1.3 @@ -405,13 +405,11 @@
     1.4      Sint32 product = 0;
     1.5      Sint32 version = 0;
     1.6      char *name;
     1.7 -    const char *manufacturer_remapped;
     1.8      char manufacturer_string[256];
     1.9      char product_string[256];
    1.10      CFTypeRef refCF = NULL;
    1.11      CFArrayRef array = NULL;
    1.12      Uint16 *guid16 = (Uint16 *)pDevice->guid.data;
    1.13 -    int i;
    1.14  
    1.15      /* get usage page and usage */
    1.16      refCF = IOHIDDeviceGetProperty(hidDevice, CFSTR(kIOHIDPrimaryUsagePageKey));