From 680acd81e637a3c7d02ee6f37d90006081d34758 Mon Sep 17 00:00:00 2001 From: Miguel Figueiredo Date: Sat, 1 Jun 2013 23:43:56 +0200 Subject: Remove unsused variables * libthreads/cprocs.c : Remove unsused variables. --- libthreads/cprocs.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libthreads') diff --git a/libthreads/cprocs.c b/libthreads/cprocs.c index 7f63fc0d..5459d7de 100644 --- a/libthreads/cprocs.c +++ b/libthreads/cprocs.c @@ -341,7 +341,6 @@ void cthread_wire(void) { register cproc_t p = cproc_self(); - kern_return_t r; /* In GNU, we wire all threads on creation (in cproc_alloc). */ assert (p->wired != MACH_PORT_NULL); @@ -628,7 +627,6 @@ cproc_block(void) { extern unsigned int __hurd_threadvar_max; /* GNU */ register cproc_t waiter, new, p = cproc_self(); - register int extra; if (p->wired != MACH_PORT_NULL) { mach_msg_header_t msg; @@ -864,8 +862,6 @@ cond_broadcast(condition_t c) spin_lock(&c->lock); for (;;) { - register int old_state; - cthread_queue_deq(&c->queue, cproc_t, p); if (p == NO_CPROC) break; -- cgit v1.2.3