aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/map.c
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-10-20 15:10:33 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-10-23 20:06:21 +0200
commit5f03a1eaabfc8de2b3a9c666fcd604763f41e152 (patch)
tree2a4e38bf7ac44749bd876d5e4d822f8ac604c2ae /src/nvim/map.c
parente606604322815abd3dc91a5595a0aa976a9aded7 (diff)
downloadrneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.tar.gz
rneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.tar.bz2
rneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.zip
build(lint): remove unnecessary clint.py rules
Uncrustify is the source of truth where possible. Remove any redundant checks from clint.py.
Diffstat (limited to 'src/nvim/map.c')
-rw-r--r--src/nvim/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/map.c b/src/nvim/map.c
index 87b4d10314..57e39b1d72 100644
--- a/src/nvim/map.c
+++ b/src/nvim/map.c
@@ -78,8 +78,8 @@ static inline bool equal_ColorKey(ColorKey ae1, ColorKey ae2)
// TODO(bfredl): this could be _less_ for the h->hash part as this is now small (4 bytes per value)
#define UPPER_FILL 0.77
-#define roundup32(x) (--(x), (x)|= (x)>>1, (x)|= (x)>>2, (x)|= (x)>>4, (x)|= (x)>>8, \
- (x)|= (x)>>16, ++(x))
+#define roundup32(x) (--(x), (x) |= (x)>>1, (x) |= (x)>>2, (x) |= (x)>>4, (x) |= (x)>>8, \
+ (x) |= (x)>>16, ++(x))
// h->hash must either be NULL or an already valid pointer
void mh_realloc(MapHash *h, uint32_t n_min_buckets)