Fixed compiler warnings in test programs by adding return statements.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 14 Jul 2013 13:30:26 +0200
changeset 744358c5fcba814d
parent 7442 a65a1c17af2b
child 7444 3b9b7bcee64f
Fixed compiler warnings in test programs by adding return statements.
test/testnative.c
test/testspriteminimal.c
     1.1 --- a/test/testnative.c	Sun Jul 14 13:27:19 2013 +0200
     1.2 +++ b/test/testnative.c	Sun Jul 14 13:30:26 2013 +0200
     1.3 @@ -227,6 +227,8 @@
     1.4      }
     1.5  
     1.6      quit(0);
     1.7 +
     1.8 +    return 0; /* to prevent compiler warning */
     1.9  }
    1.10  
    1.11  /* vi: set ts=4 sw=4 expandtab: */
     2.1 --- a/test/testspriteminimal.c	Sun Jul 14 13:27:19 2013 +0200
     2.2 +++ b/test/testspriteminimal.c	Sun Jul 14 13:30:26 2013 +0200
     2.3 @@ -162,6 +162,8 @@
     2.4      }
     2.5  
     2.6      quit(0);
     2.7 +
     2.8 +    return 0; /* to prevent compiler warning */
     2.9  }
    2.10  
    2.11  /* vi: set ts=4 sw=4 expandtab: */