# HG changeset patch # User Sam Lantinga # Date 1279085130 25200 # Node ID 0c71708adbcbd3b551525215ad9db750f937f405 # Parent c5af44c1eea9b2a2963d93b7f69b5a04484473f0 Fixed compile warning diff -r c5af44c1eea9 -r 0c71708adbcb src/haptic/linux/SDL_syshaptic.c --- 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));