From 83ca0bc0209d85a716390ab0ffb1fb213057ed27 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 25 Oct 2009 22:34:52 +0100 Subject: Fix warning * i386/i386/pcb.c (thread_setstatus): Comment out state variable declaration. --- i386/i386/pcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386') diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c index 58b4ea9..d896c79 100644 --- a/i386/i386/pcb.c +++ b/i386/i386/pcb.c @@ -537,7 +537,7 @@ kern_return_t thread_setstatus(thread, flavor, tstate, count) * Temporary - replace by i386_io_map */ case i386_ISA_PORT_MAP_STATE: { - register struct i386_isa_port_map_state *state; + //register struct i386_isa_port_map_state *state; if (count < i386_ISA_PORT_MAP_STATE_COUNT) return(KERN_INVALID_ARGUMENT); -- cgit v1.2.3