summaryrefslogtreecommitdiff
path: root/libthreads
diff options
context:
space:
mode:
authorMiguel Figueiredo <elmig@debianpt.org>2013-06-01 23:43:56 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-01 23:43:56 +0200
commit680acd81e637a3c7d02ee6f37d90006081d34758 (patch)
tree2bace9c7df1cb1a12fe96f403db55bdad73ca159 /libthreads
parentd86f1bcc22e0a7562906bdb49af1095db7dac807 (diff)
Remove unsused variables
* libthreads/cprocs.c : Remove unsused variables.
Diffstat (limited to 'libthreads')
-rw-r--r--libthreads/cprocs.c4
1 files changed, 0 insertions, 4 deletions
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;