Fixed compiler warnings
authorSam Lantinga <slouken@libsdl.org>
Thu, 23 Jan 2020 22:24:24 -0800
changeset 1344539a7b759a38a
parent 13444 3b0ad6c584ac
child 13446 2c8748d36b8f
Fixed compiler warnings
src/joystick/hidapi/SDL_hidapi_xboxone.c
     1.1 --- a/src/joystick/hidapi/SDL_hidapi_xboxone.c	Thu Jan 23 12:53:43 2020 -0800
     1.2 +++ b/src/joystick/hidapi/SDL_hidapi_xboxone.c	Thu Jan 23 22:24:24 2020 -0800
     1.3 @@ -450,7 +450,7 @@
     1.4              /* The mapped controller state is at offset 4, the raw state is at offset 18, compare them to see if the paddles are mapped */
     1.5              paddles_mapped = (SDL_memcmp(&data[4], &data[18], 14) != 0);
     1.6  
     1.7 -        } else if (size == 38) {
     1.8 +        } else /* if (size == 38) */ {
     1.9              /* XBox One Elite Series 2 */
    1.10              paddle_index = 18;
    1.11              button1_bit = 0x04;