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 --- main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index c5a680d..3dfd1e8 100644 --- a/main.c +++ b/main.c @@ -13,6 +13,11 @@ int main (int argc, char *argv[]) srand (time(NULL)); SURFACES surfaces; POSITIONS positions; + + /* XXX argc and argv are required in some implementations of the SDL library */ + (void) argc; + (void) argv; + Finitialisersurfaces (&surfaces); if (SDL_Init (SDL_INIT_VIDEO) == -1) { -- cgit v1.2.3