Performance: remove unnecessary IF statement

This commit is contained in:
Shahram Najm 2018-11-09 17:44:45 +00:00
parent 4039ec38e8
commit 9311112fe5
1 changed files with 2 additions and 1 deletions

View File

@ -358,7 +358,8 @@ void grib_trie_with_rank_delete_container(grib_trie_with_rank *t)
{
GRIB_MUTEX_INIT_ONCE(&once,&init);
GRIB_MUTEX_LOCK(&mutex);
if(t) {
DebugAssert(t);
{
int i;
for(i = t->first; i <= t->last; i++)
if (t->next[i]) {