From 31e13e6e6469dbc460f18a38e31495b0f39bfcec Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Sat, 14 Dec 2013 15:07:04 -0500 Subject: [PATCH] Fix some stuff --- hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hash.c b/hash.c index 5043962..276817e 100644 --- a/hash.c +++ b/hash.c @@ -252,7 +252,7 @@ static GMQCC_FORCEINLINE uint32_t hash_native_result(uint32_t hash, uint32_t car return hash; } -static GMQCC_FORCEINLINE uint32_t hash_native(const void *GMQCC_RESTRICT key, size_t length) { +static GMQCC_FORCEINLINE GMQCC_USED uint32_t hash_native(const void *GMQCC_RESTRICT key, size_t length) { uint32_t hash = HASH_SEED; uint32_t carry = 0; @@ -389,7 +389,7 @@ static uint32_t hash_entry(const void *GMQCC_RESTRICT key, size_t length) { } return (GMQCC_LIKELY(sse)) - ? hash_sse(key, length); + ? hash_sse(key, length) : hash_native(key, length); /* * Same as above but this time host compiler was defined with SSE support. -- 2.39.2