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:
Roland McGrath 2003-03-13 21:00:18 +00:00
parent 6fde8d5325
commit 0579fabbe8

View File

@ -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 ();