mirror of https://github.com/ecmwf/eccodes.git
Performance: remove unnecessary IF statement
This commit is contained in:
parent
4039ec38e8
commit
9311112fe5
|
@ -358,7 +358,8 @@ void grib_trie_with_rank_delete_container(grib_trie_with_rank *t)
|
||||||
{
|
{
|
||||||
GRIB_MUTEX_INIT_ONCE(&once,&init);
|
GRIB_MUTEX_INIT_ONCE(&once,&init);
|
||||||
GRIB_MUTEX_LOCK(&mutex);
|
GRIB_MUTEX_LOCK(&mutex);
|
||||||
if(t) {
|
DebugAssert(t);
|
||||||
|
{
|
||||||
int i;
|
int i;
|
||||||
for(i = t->first; i <= t->last; i++)
|
for(i = t->first; i <= t->last; i++)
|
||||||
if (t->next[i]) {
|
if (t->next[i]) {
|
||||||
|
|
Loading…
Reference in New Issue