mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
2003-03-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Only declare and set PPID if [! NDEBUG].
This commit is contained in:
parent
6fde8d5325
commit
0579fabbe8
@ -69,7 +69,9 @@ __libc_fork (void)
|
||||
|
||||
_IO_list_lock ();
|
||||
|
||||
#ifndef NDEBUG
|
||||
pid_t ppid = THREAD_GETMEM (THREAD_SELF, tid);
|
||||
#endif
|
||||
|
||||
#ifdef ARCH_FORK
|
||||
pid = ARCH_FORK ();
|
||||
|
Loading…
Reference in New Issue
Block a user