From 6690e17a55615bf40b27e3f1497ba0b8c3f44296 Mon Sep 17 00:00:00 2001 From: Edgar Simo Date: Mon, 25 Aug 2008 20:51:03 +0000 Subject: [PATCH] Merged force_feedback_branch r4042: unbuildability of dummy haptic driver with some configurations. --- src/haptic/dummy/SDL_syshaptic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/haptic/dummy/SDL_syshaptic.c b/src/haptic/dummy/SDL_syshaptic.c index 36eebe1d7..3b89eda12 100644 --- a/src/haptic/dummy/SDL_syshaptic.c +++ b/src/haptic/dummy/SDL_syshaptic.c @@ -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; }