From 1e59fdd087d6c60f9d1089313999985197fb706d Mon Sep 17 00:00:00 2001 From: Simon 'corecode' Schubert Date: Sun, 28 Dec 2008 00:09:54 +0100 Subject: [PATCH] Initialize variable we are going to use. --- sys/platform/pc64/amd64/vm_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/platform/pc64/amd64/vm_machdep.c b/sys/platform/pc64/amd64/vm_machdep.c index a23f3759b9..a1a907d8f8 100644 --- a/sys/platform/pc64/amd64/vm_machdep.c +++ b/sys/platform/pc64/amd64/vm_machdep.c @@ -234,7 +234,7 @@ void cpu_lwp_exit(void) { struct thread *td = curthread; - struct pcb *pcb; + struct pcb *pcb = td->td_pcb; #if NNPX > 0 npxexit(); #endif /* NNPX */ -- 2.41.0