diff src/haptic/dummy/SDL_syshaptic.c @ 2719:eed1bde05821

Merged force_feedback_branch r4042: unbuildability of dummy haptic driver with some configurations.
author Edgar Simo <bobbens@gmail.com>
date Mon, 25 Aug 2008 20:51:03 +0000
parents 0906692aa6a4
children
line wrap: on
line diff
--- 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;
 }