diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_queue_priority.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_queue_priority.c b/test/test_queue_priority.c index d61b8c8da..a7106a8e9 100644 --- a/test/test_queue_priority.c +++ b/test/test_queue_priority.c @@ -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; } } |