From 5c2dcb40e40a789b1bf2a3b19429acd23c7674b1 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 7 Jan 2015 13:13:30 +0100 Subject: handle default cases in switches since gcc produces warnings when default cases are not handled, make it happy. Signed-off-by: Olivier Gayot --- map.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'map.c') diff --git a/map.c b/map.c index ff0d61a..d7b59d6 100644 --- a/map.c +++ b/map.c @@ -30,6 +30,8 @@ void Fmap (SURFACES*surfaces, POSITIONS* positions,PERSONNAGES persos[],ENNEMIS case SDLK_a: continuer=0; break; + default: + break; } break; } -- cgit v1.2.3