test/test_queue_priority: work around "set but not used" warning
This commit is contained in:
parent
53174ea45f
commit
7e27d660e2
@ -27,6 +27,7 @@ check_descending_priority(G_GNUC_UNUSED const struct queue *queue,
|
|||||||
unsigned position = queue_order_to_position(queue, order);
|
unsigned position = queue_order_to_position(queue, order);
|
||||||
uint8_t priority = queue->items[position].priority;
|
uint8_t priority = queue->items[position].priority;
|
||||||
assert(priority <= last_priority);
|
assert(priority <= last_priority);
|
||||||
|
(void)last_priority;
|
||||||
last_priority = priority;
|
last_priority = priority;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user