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 --- magies.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'magies.c') diff --git a/magies.c b/magies.c index 8d0460d..93a4813 100644 --- a/magies.c +++ b/magies.c @@ -117,6 +117,8 @@ int Fmagieelement (SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[], Fblitcoloredselection(surfaces,positions,*Vtourallie,persos); } break; + default: + break; } break; } @@ -229,6 +231,8 @@ int Fmagiesoin(SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],int } continuer=0; break; + default: + break; } break; } -- cgit v1.2.3