Fixed compile warning

This commit is contained in:
Sam Lantinga 2010-07-13 22:25:30 -07:00
parent f4c7de6bd9
commit c7f81eb3ca

View file

@ -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));