From 2d697eb0adedce4b4c5ca2bd674d7c50ca4b176e 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. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403170 --- 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; }