From: Simon 'corecode' Schubert Date: Sat, 27 Dec 2008 23:09:54 +0000 (+0100) Subject: Initialize variable we are going to use. X-Git-Url: https://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/commitdiff_plain/1e59fdd087d6c60f9d1089313999985197fb706d Initialize variable we are going to use. --- 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 */