From 21a76256ce68b4d4dd0a9b7ba1ae3ccd29524aea Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 10 Jan 2024 13:26:23 +0000 Subject: [PATCH] Testing: Unused accessors --- src/grib_accessor_class_signed_bits.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/grib_accessor_class_signed_bits.cc b/src/grib_accessor_class_signed_bits.cc index 7082f827e..1750af3eb 100644 --- a/src/grib_accessor_class_signed_bits.cc +++ b/src/grib_accessor_class_signed_bits.cc @@ -159,6 +159,8 @@ static void dump(grib_accessor* a, grib_dumper* dumper) static int unpack_long(grib_accessor* a, long* val, size_t* len) { + return GRIB_NOT_IMPLEMENTED; +#if 0 grib_accessor_signed_bits* self = (grib_accessor_signed_bits*)a; int i; int ret = 0; @@ -193,10 +195,13 @@ static int unpack_long(grib_accessor* a, long* val, size_t* len) *len = rlen; return GRIB_SUCCESS; +#endif } static int pack_long(grib_accessor* a, const long* val, size_t* len) { + return GRIB_NOT_IMPLEMENTED; +#if 0 grib_accessor_signed_bits* self = (grib_accessor_signed_bits*)a; int ret = 0; long off = 0; @@ -232,6 +237,7 @@ static int pack_long(grib_accessor* a, const long* val, size_t* len) grib_context_free(a->context, buf); return ret; +#endif } static int value_count(grib_accessor* a, long* numberOfElements)