changeset 4514:0c71708adbcb

Fixed compile warning
author Sam Lantinga <slouken@libsdl.org>
date Tue, 13 Jul 2010 22:25:30 -0700
parents c5af44c1eea9
children 54cbc34229f4
files src/haptic/linux/SDL_syshaptic.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
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));