[PATCH] clean up compiler warning in libpthread/linuxthreads.old/manager.c

Al Stone ahs3 at fc.hp.com
Tue Mar 6 20:26:23 UTC 2007


Another minor compiler warning clean-up.  I don't _think_ it is
affecting functionality.

Signed-off-by: Al Stone <ahs3 at fc.hp.com>

-- 
Ciao,
al
----------------------------------------------------------------------
Al Stone                                      Alter Ego:
Open Source and Linux R&D                     Debian Developer
Hewlett-Packard Company                       http://www.debian.org
E-mail: ahs3 at fc.hp.com                        ahs3 at debian.org
----------------------------------------------------------------------

diff --exclude .svn -Naur svn/libpthread/linuxthreads.old/manager.c uClibc-ia64-current/libpthread/linuxthreads.old/manager.c
--- svn/libpthread/linuxthreads.old/manager.c	2007-02-07 17:39:58.000000000 -0700
+++ uClibc-ia64-current/libpthread/linuxthreads.old/manager.c	2007-03-06 13:09:29.000000000 -0700
@@ -489,6 +489,8 @@
 	return EAGAIN;
       if (__pthread_handles[sseg].h_descr != NULL)
 	continue;
+      new_thread_bottom = NULL;
+      new_thread = (pthread_descr) NULL;
       if (pthread_allocate_stack(attr, thread_segment(sseg), pagesize,
                                  &new_thread, &new_thread_bottom,
                                  &guardaddr, &guardsize) == 0)





More information about the uClibc mailing list