X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fhashtable%2Futils.c;h=2c41e6c65f4060f31439640cec8c8c6d62b724c1;hb=4062406e2a957323852dca73a41e0239f6b9df03;hp=2d027bae0b9cc2350ea69337ea3412dd5727d79d;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;p=lttng-tools.git diff --git a/src/common/hashtable/utils.c b/src/common/hashtable/utils.c index 2d027bae0..2c41e6c65 100644 --- a/src/common/hashtable/utils.c +++ b/src/common/hashtable/utils.c @@ -264,7 +264,9 @@ static void __attribute__((unused)) hashword2(const uint32_t *k, size_t length, * Use for hash table lookup, or anything where one collision in 2^^32 is * acceptable. Do NOT use for cryptographic purposes. */ -static uint32_t __attribute__((unused)) hashlittle(const void *key, +LTTNG_NO_SANITIZE_ADDRESS +__attribute__((unused)) +static uint32_t hashlittle(const void *key, size_t length, uint32_t initval) { uint32_t a,b,c;