Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compile warning

  • Loading branch information
slouken committed Jul 14, 2010
1 parent ab2219a commit 4d552a2bafb0bf62d0831416c53498c55781965d
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/haptic/linux/SDL_syshaptic.c
@@ -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));

0 comments on commit 4d552a2

Please sign in to comment.