Merged force_feedback_branch r4042: unbuildability of dummy haptic driver with some configurations.
authorEdgar Simo <bobbens@gmail.com>
Mon, 25 Aug 2008 20:51:03 +0000
changeset 2719 eed1bde05821
parent 2718 abacf2555bb4
child 2720 4eb759edddf5
Merged force_feedback_branch r4042: unbuildability of dummy haptic driver with some configurations.
src/haptic/dummy/SDL_syshaptic.c
--- a/src/haptic/dummy/SDL_syshaptic.c	Mon Aug 25 18:02:14 2008 +0000
+++ b/src/haptic/dummy/SDL_syshaptic.c	Mon Aug 25 20:51:03 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;
 }