Initialize variable we are going to use.
authorSimon 'corecode' Schubert <corecode@fs.ei.tum.de>
Sat, 27 Dec 2008 23:09:54 +0000 (00:09 +0100)
committerSimon 'corecode' Schubert <corecode@fs.ei.tum.de>
Sat, 27 Dec 2008 23:09:54 +0000 (00:09 +0100)
sys/platform/pc64/amd64/vm_machdep.c

index a23f375..a1a907d 100644 (file)
@@ -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 */