From 4e71ddcb069220cc60cb09419a92370eb1e5c4ad Mon Sep 17 00:00:00 2001 From: shahramn Date: Thu, 22 Aug 2024 14:14:24 +0100 Subject: [PATCH] Dead code removal --- src/grib_trie.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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;