diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-08-06 17:02:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-06 17:02:17 +0200 |
commit | 23dab159d7f2c474bfca07e72ee9fe44947178f6 (patch) | |
tree | 96f2008852c988ea8202d71ef7cf57211ce42c12 /src/journal/lookup3.c | |
parent | 3bb81a80bd18c15a1befb4de9a4cf9a5b77ae354 (diff) | |
parent | 7dbe0b72c5666a0e0a73cefac2b1c253bce5deef (diff) |
Merge pull request #3911 from crrodriguez/asan-fixes
Asan fixes
Diffstat (limited to 'src/journal/lookup3.c')
-rw-r--r-- | src/journal/lookup3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/lookup3.c b/src/journal/lookup3.c index 3d791234f4..d8f1a4977d 100644 --- a/src/journal/lookup3.c +++ b/src/journal/lookup3.c @@ -317,7 +317,7 @@ uint32_t jenkins_hashlittle( const void *key, size_t length, uint32_t initval) * still catch it and complain. The masking trick does make the hash * noticeably faster for short strings (like English words). */ -#ifndef VALGRIND +#if !defined(VALGRIND) && !defined(__SANITIZE_ADDRESS__) switch(length) { @@ -503,7 +503,7 @@ void jenkins_hashlittle2( * still catch it and complain. The masking trick does make the hash * noticeably faster for short strings (like English words). */ -#ifndef VALGRIND +#if !defined(VALGRIND) && !defined(__SANITIZE_ADDRESS__) switch(length) { @@ -681,7 +681,7 @@ uint32_t jenkins_hashbig( const void *key, size_t length, uint32_t initval) * still catch it and complain. The masking trick does make the hash * noticeably faster for short strings (like English words). */ -#ifndef VALGRIND +#if !defined(VALGRIND) && !defined(__SANITIZE_ADDRESS__) switch(length) { |