Fixed compile warning
This commit is contained in:
parent
f4c7de6bd9
commit
c7f81eb3ca
1 changed files with 0 additions and 2 deletions
|
@ -254,8 +254,6 @@ SDL_SYS_HapticName(int index)
|
|||
static int
|
||||
SDL_SYS_HapticOpenFromFD(SDL_Haptic * haptic, int fd)
|
||||
{
|
||||
const char *name;
|
||||
|
||||
/* Allocate the hwdata */
|
||||
haptic->hwdata = (struct haptic_hwdata *)
|
||||
SDL_malloc(sizeof(*haptic->hwdata));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue