From ab6ded0e337302e876acb06ca928360ec4cdd7da Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 21 Nov 2016 11:48:20 +0000 Subject: [PATCH] ECC-387: Thread safety for BUFR decoding (Part 4) --- src/grib_accessor_class_expanded_descriptors.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/grib_accessor_class_expanded_descriptors.c b/src/grib_accessor_class_expanded_descriptors.c index 5b343de14..f7ba93112 100644 --- a/src/grib_accessor_class_expanded_descriptors.c +++ b/src/grib_accessor_class_expanded_descriptors.c @@ -201,7 +201,9 @@ static void dump(grib_accessor* a, grib_dumper* dumper) static bufr_descriptors_array* do_expand(grib_accessor* a,bufr_descriptors_array* unexpanded,change_coding_params* ccp,int *err); +#if MYDEBUG static int global_depth=-1; +#endif static size_t __expand(grib_accessor* a, bufr_descriptors_array* unexpanded, bufr_descriptors_array* expanded, change_coding_params* ccp, int* err)