summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-25 22:34:52 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-25 22:35:32 +0100
commit83ca0bc0209d85a716390ab0ffb1fb213057ed27 (patch)
treea5f7946f9b38b1f0b611b53936ee450bf2316eff /i386
parent77a0c90c0bffc6dccf2ca18be813f963577bb4e5 (diff)
Fix warning
* i386/i386/pcb.c (thread_setstatus): Comment out state variable declaration.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/pcb.c2
1 files changed, 1 insertions, 1 deletions
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);