Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 14, 2010
1 parent ab2219a commit 4d552a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/haptic/linux/SDL_syshaptic.c
Expand Up @@ -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));
Expand Down

0 comments on commit 4d552a2

Please sign in to comment.