diff options
author | Max Kellermann <max@duempel.org> | 2011-09-16 08:07:41 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-16 09:10:39 +0200 |
commit | 7e27d660e245506e60eecc21507258c0a6c33123 (patch) | |
tree | 91847e93cfe622e94cb4b641aab6b4340758563e /test | |
parent | 53174ea45fd8690352e93b591d08e68cc82665d9 (diff) | |
download | mpd-7e27d660e245506e60eecc21507258c0a6c33123.tar.gz mpd-7e27d660e245506e60eecc21507258c0a6c33123.tar.xz mpd-7e27d660e245506e60eecc21507258c0a6c33123.zip |
test/test_queue_priority: work around "set but not used" warning
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; } } |