Fiexd some build errors of freebsd with gcc-12.2.0.

This commit is contained in:
fengbojiang 2023-10-19 17:31:00 +08:00
parent 2e31158d7d
commit e1deb64acd
1 changed files with 3 additions and 0 deletions

View File

@ -337,6 +337,9 @@ taskqueue_task_nop_fn(void *context, int pending)
static void
taskqueue_drain_tq_queue(struct taskqueue *queue)
{
#ifdef FSTACK // for dangling-pointer
static
#endif
struct task t_barrier;
if (STAILQ_EMPTY(&queue->tq_queue))