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

Commit

Permalink
Fixed compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 12, 2012
1 parent e1de070 commit ed7d99e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/joystick/linux/SDL_sysjoystick.c
Expand Up @@ -302,6 +302,7 @@ MaybeAddDevice(const char *path)
return numjoysticks++;
}

#if SDL_USE_LIBUDEV
/* !!! FIXME: I would love to dump this code and use libudev instead. */
static int
MaybeRemoveDevice(const char *path)
Expand Down Expand Up @@ -341,6 +342,7 @@ MaybeRemoveDevice(const char *path)

return -1;
}
#endif

static int
JoystickInitWithoutUdev(void)
Expand Down

0 comments on commit ed7d99e

Please sign in to comment.