diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 13:43:25 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 13:43:25 +0100 |
commit | 9bbff3216b9f99d86f3757dbad70c9d91ef8d700 (patch) | |
tree | a97b99b0dacdff2f72d0035f78276c190329df4d /main.c | |
parent | b91ac429108096a3de75b9b81ca2c637b27524ba (diff) |
fixed some compilation warnings
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) { |