summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-05-17 00:59:09 +0000
committerRoland McGrath <roland@gnu.org>2003-05-17 00:59:09 +0000
commit3e335bbc322346413fe4a3395e68c7b5586cfdad (patch)
treea53a8e96546667bfd9b15b7cf7a80c80dce15857 /nptl
parent23ae64517447a0b11ea4102a29c0d18f8f5949d0 (diff)
downloadglibc-3e335bbc322346413fe4a3395e68c7b5586cfdad.tar.gz
glibc-3e335bbc322346413fe4a3395e68c7b5586cfdad.tar.xz
glibc-3e335bbc322346413fe4a3395e68c7b5586cfdad.zip
2003-05-16 Roland McGrath <roland@redhat.com>
	* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix
	uninitialized variable braino.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/register-atfork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/register-atfork.c b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
index 299ae9de29..3177f5a09c 100644
--- a/nptl/sysdeps/unix/sysv/linux/register-atfork.c
+++ b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
@@ -127,7 +127,7 @@ libc_freeres_fn (free_mem)
   /* We can free the memory after releasing the lock.  */
   while (runp != NULL)
     {
-      struct fork_handler_pool *oldp;
+      struct fork_handler_pool *oldp = runp;
       runp = runp->next;
       free (oldp);
     }