commit 6e17fc9: [Minor] Fix for gcc

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Sep 25 15:14:07 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-09-25 16:12:56 +0100
URL: https://github.com/rspamd/rspamd/commit/6e17fc9600d13f16c862d0c367ca09ed8c04dbe3 (HEAD -> master)

[Minor] Fix for gcc

---
 contrib/lc-btrie/btrie.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/lc-btrie/btrie.c b/contrib/lc-btrie/btrie.c
index 6e529db90..81b69b2b9 100644
--- a/contrib/lc-btrie/btrie.c
+++ b/contrib/lc-btrie/btrie.c
@@ -631,8 +631,8 @@ static inline unsigned count_bits_from(tbm_bitmap_t bm, int b)
 }
 
 /* extracts a few bits from bitstring, returning them as an integer */
-static inline btrie_oct_t extract_bits(const btrie_oct_t *prefix, unsigned pos,
-		unsigned nbits) RSPAMD_NO_SANITIZE
+static inline btrie_oct_t RSPAMD_NO_SANITIZE extract_bits(const btrie_oct_t *prefix, unsigned pos,
+		unsigned nbits)
 {
 	if (nbits == 0)
 		return 0;


More information about the Commits mailing list