diff --git a/src/grib_trie.cc b/src/grib_trie.cc index c4e1d29e5..85f246e2d 100644 --- a/src/grib_trie.cc +++ b/src/grib_trie.cc @@ -437,11 +437,7 @@ void* grib_trie_insert_no_replace(grib_trie* t, const char* key, void* data) { grib_trie* last = t; const char* k = key; - - if (!t) { - Assert(!"grib_trie_insert_no_replace: grib_trie==NULL"); - return NULL; - } + Assert(t); while (*k && t) { last = t;