Fixed compile warning
authorSam Lantinga <slouken@libsdl.org>
Tue, 13 Jul 2010 22:25:30 -0700
changeset 4514 0c71708adbcb
parent 4513 c5af44c1eea9
child 4515 54cbc34229f4
Fixed compile warning
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));