From 9bbff3216b9f99d86f3757dbad70c9d91ef8d700 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 7 Jan 2015 13:43:25 +0100 Subject: fixed some compilation warnings Signed-off-by: Olivier Gayot --- jouer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'jouer.c') diff --git a/jouer.c b/jouer.c index 7c67993..c649874 100644 --- a/jouer.c +++ b/jouer.c @@ -145,6 +145,10 @@ void Fchoisirtypeennemis (PERSONNAGES persos[],SURFACES *surfaces,ENNEMIS ennemi { int moyenne=0; int i; + + /* TODO understand why this is needed */ + (void) surfaces; + for (i=0;i<3;i++) moyenne+=persos[i].nv; moyenne/=3; -- cgit v1.2.3