From: Mathieu Desnoyers Date: Tue, 10 Jan 2012 18:55:26 +0000 (-0500) Subject: Remove incorrect assert in hash table lookup X-Git-Tag: v2.0-pre17~32 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=f1488a814a3aa2ed32f0a2c5e9e344a6e50ed70a;ds=sidebyside Remove incorrect assert in hash table lookup key can be NULL (0 value is allowed). Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ht/lttng-ht.c b/liblttng-ht/lttng-ht.c index 608b3af10..d55c95373 100644 --- a/liblttng-ht/lttng-ht.c +++ b/liblttng-ht/lttng-ht.c @@ -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);