Performance: remove unnecessary check for NULL

This commit is contained in:
Shahram Najm 2019-07-18 12:34:18 +01:00
parent 6dd035fdb0
commit 099ea3d1cf
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ static void init(grib_action_class *c)
GRIB_MUTEX_INIT_ONCE(&once,&init_mutex);
GRIB_MUTEX_LOCK(&mutex1);
if(c && !c->inited)
if(!c->inited)
{
if (c->super) {
init( *(c->super) );