aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/lib')
-rw-r--r--src/nvim/lib/kbtree.h2
-rw-r--r--src/nvim/lib/khash.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/lib/kbtree.h b/src/nvim/lib/kbtree.h
index 5d9c1095bc..617773a79a 100644
--- a/src/nvim/lib/kbtree.h
+++ b/src/nvim/lib/kbtree.h
@@ -53,7 +53,7 @@
bool is_internal; \
key_t key[2*T-1]; \
kbnode_##name##_t *ptr[]; \
- } ; \
+ }; \
typedef struct { \
kbnode_##name##_t *root; \
int n_keys, n_nodes; \
diff --git a/src/nvim/lib/khash.h b/src/nvim/lib/khash.h
index e0faf94db9..8cfeb03cc4 100644
--- a/src/nvim/lib/khash.h
+++ b/src/nvim/lib/khash.h
@@ -459,7 +459,7 @@ static kh_inline khint_t __ac_X31_hash_string(const char *s)
{
khint_t h = (khint_t)*s;
if (h) {
- for (++s ; *s; ++s) { h = (h << 5) - h + (uint8_t)*s; }
+ for (++s; *s; ++s) { h = (h << 5) - h + (uint8_t)*s; }
}
return h;
}