Fix warnings related to undefined defines and implicit casts

This commit is contained in:
2024-06-08 12:26:20 +03:00
parent fd39ee8692
commit 54c33ec67a
5 changed files with 20 additions and 8 deletions

View File

@@ -220,9 +220,6 @@ void bh_cond_free(bh_cond_t *cond)
int bh_thread_pool_add(bh_thread_pool_t *pool,
bh_task_t *task)
{
void *iter;
bh_task_t *item;
/* Queue task for execution */
bh_mutex_lock(&pool->lock);
if (bh_queue_insert(&pool->tasks, task))