Fixed compiler warning.
This commit is contained in:
parent
7cb9995377
commit
22f3f2b927
1 changed files with 2 additions and 0 deletions
|
@ -302,6 +302,7 @@ MaybeAddDevice(const char *path)
|
||||||
return numjoysticks++;
|
return numjoysticks++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if SDL_USE_LIBUDEV
|
||||||
/* !!! FIXME: I would love to dump this code and use libudev instead. */
|
/* !!! FIXME: I would love to dump this code and use libudev instead. */
|
||||||
static int
|
static int
|
||||||
MaybeRemoveDevice(const char *path)
|
MaybeRemoveDevice(const char *path)
|
||||||
|
@ -341,6 +342,7 @@ MaybeRemoveDevice(const char *path)
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
JoystickInitWithoutUdev(void)
|
JoystickInitWithoutUdev(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue