From f1488a814a3aa2ed32f0a2c5e9e344a6e50ed70a Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 10 Jan 2012 13:55:26 -0500 Subject: [PATCH] Remove incorrect assert in hash table lookup key can be NULL (0 value is allowed). Signed-off-by: Mathieu Desnoyers --- liblttng-ht/lttng-ht.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.34.1