-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

This patch fixes following warning that I am getting with gcc 4.2 while
running the tests. I also changed the type to pid_t to match with the
return of waitpid ()

../test-skeleton.c: In function 'timeout_handler':
../test-skeleton.c:138: warning: 'killed' may be used uninitialized in
this function


OK to apply ?

- --
Khem Raj
MontaVista Software Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHH+64UjbQJxVzeZQRAocxAJ9/rVOM7SQAU+QtreNxH27tKZgubwCfThSG
GKQq5WusRP+guf44WbRm4nw=
=+51c
-----END PGP SIGNATURE-----
Index: uclibc-0.9.29/test/test-skeleton.c
===================================================================
--- uclibc-0.9.29.orig/test/test-skeleton.c
+++ uclibc-0.9.29/test/test-skeleton.c
@@ -135,7 +135,7 @@ static void
 __attribute__ ((noreturn))
 timeout_handler (int sig __attribute__ ((unused)))
 {
-  int killed;
+  pid_t killed = 0;
   int status;
 
   /* Send signal.  */
_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to