mirror of https://github.com/ecmwf/eccodes.git
Merge branch 'develop' into feature/ECC-1137-bufr-fixed-length
This commit is contained in:
commit
91768957bf
|
@ -248,6 +248,7 @@ void grib_push_accessor(grib_accessor* a, grib_block_of_accessors* l)
|
|||
l->last = a;
|
||||
|
||||
if (hand->use_trie) {
|
||||
DebugAssert( a->all_names[0] );
|
||||
if (*(a->all_names[0]) != '_') {
|
||||
id = grib_hash_keys_get_id(a->context->keys, a->all_names[0]);
|
||||
|
||||
|
|
|
@ -2641,6 +2641,9 @@ static int create_keys(grib_accessor* a, long onlySubset, long startSubset, long
|
|||
err = GRIB_DECODING_ERROR;
|
||||
return err;
|
||||
}
|
||||
if (elementAccessor->name == NULL) {
|
||||
return GRIB_DECODING_ERROR;
|
||||
}
|
||||
|
||||
/*if (associatedFieldAccessor) grib_accessor_delete(c, associatedFieldAccessor);*/
|
||||
associatedFieldAccessor = NULL;
|
||||
|
|
Loading…
Reference in New Issue