changeset 13697:b661c266dee7

tests: avoid compiler warning * tests/test-stdlib.c (main): Use the variable. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Fri, 17 Sep 2010 15:09:54 -0600
parents bfe487360d66
children 29d663caae3e
files ChangeLog tests/test-stdlib.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-09-17  Eric Blake  <eblake@redhat.com>
 
+	tests: avoid compiler warning
+	* tests/test-stdlib.c (main): Use the variable.
+
 	fdutimens, fdutimensat: update signature, again
 	* lib/utimens.h (gl_futimens): Delete, and move signature...
 	(fdutimens): ...here.
--- a/tests/test-stdlib.c
+++ b/tests/test-stdlib.c
@@ -59,5 +59,5 @@
 #endif
       break;
     }
-  return 0;
+  return exitcode;
 }