From 61c5e15e45a7ff20f5b49d11fa06b4f0d8df9a75 Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Mon, 22 Oct 2012 13:42:41 +1100 Subject: lint test/fops/fops.c:100:12: error: variable 'tid' set but not used --- test/fops/fops.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/fops/fops.c b/test/fops/fops.c index 0caadc5e084..0d099614533 100644 --- a/test/fops/fops.c +++ b/test/fops/fops.c @@ -97,12 +97,10 @@ static void * fop(void *arg) { STATS *s; - pthread_t tid; u_int i; int id; id = (int)(uintptr_t)arg; - tid = pthread_self(); sched_yield(); /* Get all the threads created. */ s = &run_stats[id]; -- cgit v1.2.1