Fixed compiler warning.
authorRyan C. Gordon
Tue, 11 Dec 2012 19:25:35 -0500
changeset 674987254cb5734f
parent 6748 80a6aac67ad9
child 6750 f8633a3d1cda
Fixed compiler warning.
src/joystick/linux/SDL_sysjoystick.c
     1.1 --- a/src/joystick/linux/SDL_sysjoystick.c	Tue Dec 11 18:46:09 2012 -0500
     1.2 +++ b/src/joystick/linux/SDL_sysjoystick.c	Tue Dec 11 19:25:35 2012 -0500
     1.3 @@ -302,6 +302,7 @@
     1.4      return numjoysticks++;
     1.5  }
     1.6  
     1.7 +#if SDL_USE_LIBUDEV
     1.8  /* !!! FIXME: I would love to dump this code and use libudev instead. */
     1.9  static int
    1.10  MaybeRemoveDevice(const char *path)
    1.11 @@ -341,6 +342,7 @@
    1.12  
    1.13      return -1;
    1.14  }
    1.15 +#endif
    1.16  
    1.17  static int
    1.18  JoystickInitWithoutUdev(void)