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 --- jouer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'jouer.c') diff --git a/jouer.c b/jouer.c index 0b7641a..7c67993 100644 --- a/jouer.c +++ b/jouer.c @@ -93,6 +93,8 @@ int Fjouer (SURFACES *surfaces, POSITIONS *positions, PERSONNAGES persos[],ENNEM else if(selection==OBJETS) Fselectionnerobjet(surfaces,positions,persos,&Vtourallie,ennemis,Vnbennemis,&objets,&Vtour); break; + default: + break; } break; } -- cgit v1.2.3