]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
tests/qp-cow: mute 'unused variable' if NDEBUG
authorDaniel Salzman <daniel.salzman@nic.cz>
Wed, 27 Feb 2019 12:49:52 +0000 (13:49 +0100)
committerDaniel Salzman <daniel.salzman@nic.cz>
Wed, 27 Feb 2019 12:49:52 +0000 (13:49 +0100)
tests/contrib/test_qp-cow.c

index b544dfd4cb18a592dfd699e0555ee5f2a5644a64..b0d96537045543f49a3c8f3a47b23ba63410ee13 100644 (file)
@@ -135,6 +135,7 @@ static void
 del_cow(trie_cow_t *x, struct cowleaf *leaf)
 {
        trie_val_t val;
+       UNUSED(val);
        assert(KNOT_EOK == trie_del_cow(x,
                                        (uint8_t *)leaf->key,
                                        (uint32_t)leaf->len,