Commit 7e27d660 authored by Max Kellermann's avatar Max Kellermann

test/test_queue_priority: work around "set but not used" warning

parent 53174ea4
......@@ -27,6 +27,7 @@ check_descending_priority(G_GNUC_UNUSED const struct queue *queue,
unsigned position = queue_order_to_position(queue, order);
uint8_t priority = queue->items[position].priority;
assert(priority <= last_priority);
(void)last_priority;
last_priority = priority;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment