From a98990fd713812e463ab85b4438b3542b3357c4d Mon Sep 17 00:00:00 2001 From: shahramn Date: Mon, 11 Mar 2024 17:34:02 +0000 Subject: [PATCH] ECC-1784: Remove unused code --- src/grib_iterator_class_healpix.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/grib_iterator_class_healpix.cc b/src/grib_iterator_class_healpix.cc index 33baa876b..0b5c09da0 100644 --- a/src/grib_iterator_class_healpix.cc +++ b/src/grib_iterator_class_healpix.cc @@ -111,16 +111,16 @@ struct CodecFijNest return static_cast(b); } - inline static int nest_decode_bits(int n) - { - auto b = static_cast(n) & __masks[5]; - b = (b ^ (b >> 1)) & __masks[4]; - b = (b ^ (b >> 2)) & __masks[3]; - b = (b ^ (b >> 4)) & __masks[2]; - b = (b ^ (b >> 8)) & __masks[1]; - b = (b ^ (b >> 16)) & __masks[0]; - return static_cast(b); - } + // inline static int nest_decode_bits(int n) + // { + // auto b = static_cast(n) & __masks[5]; + // b = (b ^ (b >> 1)) & __masks[4]; + // b = (b ^ (b >> 2)) & __masks[3]; + // b = (b ^ (b >> 4)) & __masks[2]; + // b = (b ^ (b >> 8)) & __masks[1]; + // b = (b ^ (b >> 16)) & __masks[0]; + // return static_cast(b); + // } // static std::tuple nest_to_fij(int n, int k) // {