mirror of https://github.com/ecmwf/eccodes.git
Performance: remove unnecessary check for NULL
This commit is contained in:
parent
6dd035fdb0
commit
099ea3d1cf
|
@ -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) );
|
||||
|
|
Loading…
Reference in New Issue