Fixed haptic dummy driver not compiling with some compilers. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Mon, 25 Aug 2008 20:49:36 +0000
branchgsoc2008_force_feedback
changeset 2653 54b892b6abb5
parent 2652 380d926cc5a7
child 4410 119b676a2600
Fixed haptic dummy driver not compiling with some compilers.
src/haptic/dummy/SDL_syshaptic.c
--- a/src/haptic/dummy/SDL_syshaptic.c	Mon Aug 25 17:30:39 2008 +0000
+++ b/src/haptic/dummy/SDL_syshaptic.c	Mon Aug 25 20:49:36 2008 +0000
@@ -30,7 +30,8 @@
 static int
 SDL_SYS_LogicError(void)
 {
-   SDL_SetError("Logic error: No haptic devices available.");;
+   SDL_SetError("Logic error: No haptic devices available.");
+   return 0;
 }