From: Vsevolod Stakhov Date: Wed, 25 Sep 2019 15:12:56 +0000 (+0100) Subject: [Minor] Fix for gcc X-Git-Tag: 2.0~126 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6e17fc9600d13f16c862d0c367ca09ed8c04dbe3;p=rspamd.git [Minor] Fix for gcc --- 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;