summaryrefslogtreecommitdiff
path: root/main.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 /main.c
parentb91ac429108096a3de75b9b81ca2c637b27524ba (diff)
fixed some compilation warnings
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
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)
{