Mercurial > sdl-ios-xcode
diff src/haptic/linux/SDL_syshaptic.c @ 4514:0c71708adbcb
Fixed compile warning
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 13 Jul 2010 22:25:30 -0700 |
parents | 7c18b38f0f9a |
children |
line wrap: on
line diff
--- a/src/haptic/linux/SDL_syshaptic.c Tue Jul 13 22:24:46 2010 -0700 +++ b/src/haptic/linux/SDL_syshaptic.c Tue Jul 13 22:25:30 2010 -0700 @@ -254,8 +254,6 @@ 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));