From 94fc3e01828a4f021dcb2ce9a31edabf2770cec4 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 13 Jan 2019 17:03:55 +0100 Subject: clang/"null passed to nonnull arg": shada.c --- src/nvim/shada.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nvim/shada.c b/src/nvim/shada.c index 36570e0ded..8864301e4c 100644 --- a/src/nvim/shada.c +++ b/src/nvim/shada.c @@ -599,6 +599,7 @@ static inline void hmll_insert(HMLList *const hmll, if (hmll_entry == hmll->first) { hmll_entry = NULL; } + assert(hmll->first != NULL); hmll_remove(hmll, hmll->first); } HMLListEntry *target_entry; -- cgit