Remove incorrect assert in hash table lookup
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 10 Jan 2012 18:55:26 +0000 (13:55 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 10 Jan 2012 18:55:26 +0000 (13:55 -0500)
key can be NULL (0 value is allowed).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ht/lttng-ht.c

index 608b3af10bdbd48180bc7f06fee98fa9e47553c4..d55c95373f6dcb2f1e25d4608f133455279b93f9 100644 (file)
@@ -160,7 +160,6 @@ void lttng_ht_lookup(struct lttng_ht *ht, void *key,
 {
        assert(ht);
        assert(ht->ht);
-       assert(key);
 
        cds_lfht_lookup(ht->ht, ht->hash_fct(key, HASH_SEED),
                        ht->match_fct, key, &iter->iter);
This page took 0.024565 seconds and 4 git commands to generate.