changeset 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 abacf2555bb4
children 4eb759edddf5
files src/haptic/dummy/SDL_syshaptic.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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;
 }