diff options
| -rw-r--r-- | src/thread_posix.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/thread_posix.c b/src/thread_posix.c index 1122baf..00c1b53 100644 --- a/src/thread_posix.c +++ b/src/thread_posix.c @@ -4,14 +4,13 @@ static void *bh_thread_run(void *arg) { - bh_tls_t *tls; bh_task_t *task; /* Fetch thread data */ task = (bh_task_t *)arg; /* Setup TLS */ - tls = bh_tls_fetch(); + bh_tls_fetch(); /* Do the task, mark as done, and if required free it */ task->func(task->data); @@ -401,4 +400,4 @@ bh_tls_t *bh_tls_fetch(void) /* Return TLS */ return tls; -}
\ No newline at end of file +} |
