summaryrefslogtreecommitdiff
path: root/jouer.c
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-07 13:43:25 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-07 13:43:25 +0100
commit9bbff3216b9f99d86f3757dbad70c9d91ef8d700 (patch)
treea97b99b0dacdff2f72d0035f78276c190329df4d /jouer.c
parentb91ac429108096a3de75b9b81ca2c637b27524ba (diff)
fixed some compilation warnings
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'jouer.c')
-rw-r--r--jouer.c4
1 files changed, 4 insertions, 0 deletions
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;