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 7443 58c5fcba814d
parent 7442 a65a1c17af2b
child 7444 3b9b7bcee64f
Fixed compiler warnings in test programs by adding return statements.
test/testnative.c
test/testspriteminimal.c
--- a/test/testnative.c	Sun Jul 14 13:27:19 2013 +0200
+++ b/test/testnative.c	Sun Jul 14 13:30:26 2013 +0200
@@ -227,6 +227,8 @@
     }
 
     quit(0);
+
+    return 0; /* to prevent compiler warning */
 }
 
 /* vi: set ts=4 sw=4 expandtab: */
--- a/test/testspriteminimal.c	Sun Jul 14 13:27:19 2013 +0200
+++ b/test/testspriteminimal.c	Sun Jul 14 13:30:26 2013 +0200
@@ -162,6 +162,8 @@
     }
 
     quit(0);
+
+    return 0; /* to prevent compiler warning */
 }
 
 /* vi: set ts=4 sw=4 expandtab: */