]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix for gcc
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 25 Sep 2019 15:12:56 +0000 (16:12 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 25 Sep 2019 15:12:56 +0000 (16:12 +0100)
contrib/lc-btrie/btrie.c

index 6e529db901e1a13fe801fe6cc9c8479ad57861dd..81b69b2b93285bee94968ce999e702860ab37e67 100644 (file)
@@ -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;