diff --git a/src/grib_accessor_class_bufr_data_array.c b/src/grib_accessor_class_bufr_data_array.c index 8f74e163f..225b0847a 100644 --- a/src/grib_accessor_class_bufr_data_array.c +++ b/src/grib_accessor_class_bufr_data_array.c @@ -2075,11 +2075,13 @@ static int bitmap_init(grib_context* c, bitmap_s* bitmap, } bitmap->referredElement=bitmapStart; while (bitmap_ref_skip(bitmap->referredElement,&ret)) bitmap->referredElement=bitmap->referredElement->prev; + /*printf("bitmap_init: bitmapSize=%d\n", bitmapSize);*/ for (i=1;ireferredElement==NULL) { grib_context_log(c, GRIB_LOG_ERROR,"bitmap_init: bitmap->referredElement==NULL"); return GRIB_INTERNAL_ERROR; } + /*printf(" bitmap_init: i=%d |%s|\n", i,bitmap->referredElement->accessor->name);*/ bitmap->referredElement=bitmap->referredElement->prev; } bitmap->referredElementStart=bitmap->referredElement;