diff test/automated/rwops/rwops.c @ 3722:d8772964e402 gsoc2009_unit_tests

Added more strict warning flags. Fixed bugs/issues uncovered by warning flags.
author Edgar Simo <bobbens@gmail.com>
date Thu, 09 Jul 2009 10:42:56 +0000
parents a34bab848c7e
children 9689eaa6d2e3
line wrap: on
line diff
--- a/test/automated/rwops/rwops.c	Thu Jul 09 10:36:09 2009 +0000
+++ b/test/automated/rwops/rwops.c	Thu Jul 09 10:42:56 2009 +0000
@@ -155,7 +155,6 @@
 #ifdef HAVE_STDIO_H
    FILE *fp;
    SDL_RWops *rw;
-   int i;
 
    /* Begin testcase. */
    SDL_ATbegin( "SDL_RWFromFP" );
@@ -189,6 +188,9 @@
  */
 int main( int argc, const char *argv[] )
 {
+   (void) argc;
+   (void) argv;
+
    SDL_ATinit( "SDL_RWops" );
 
    rwops_testMem();