clang/"null passed to nonnull arg": shada.c

This commit is contained in:
Justin M. Keyes
2019-01-13 17:03:55 +01:00
parent fb7c48f2f3
commit 94fc3e0182

View File

@@ -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;