diff --git a/include/zarr.h b/include/zarr.h index 3038b5bf..37a5868b 100644 --- a/include/zarr.h +++ b/include/zarr.h @@ -77,8 +77,6 @@ extern "C" { ZarrCompressor_None = 0, ZarrCompressor_Blosc1, - ZarrCompressor_Blosc2, /* Blosc2 is not yet supported */ - ZarrCompressor_Zstd, /* Zstd is not yet supported */ ZarrCompressorCount } ZarrCompressor; @@ -125,7 +123,6 @@ extern "C" ZarrError_InvalidArgument, ZarrError_Overflow, ZarrError_InvalidIndex, - ZarrError_NotYetImplemented, ZarrError_InternalError, ZarrErrorCount, } ZarrError; diff --git a/src/streaming/stream.settings.cpp b/src/streaming/stream.settings.cpp index 586b9767..d1754113 100644 --- a/src/streaming/stream.settings.cpp +++ b/src/streaming/stream.settings.cpp @@ -51,10 +51,6 @@ compressor_to_string(ZarrCompressor compressor) return "none"; case ZarrCompressor_Blosc1: return "blosc1"; - case ZarrCompressor_Blosc2: - return "blosc2"; - case ZarrCompressor_Zstd: - return "zstd"; default: return "(unknown)"; } @@ -250,12 +246,6 @@ ZarrStreamSettings_set_compressor(ZarrStreamSettings* settings, EXPECT_VALID_ARGUMENT( compressor < ZarrCompressorCount, "Invalid compressor: %d", compressor); - if (compressor >= ZarrCompressor_Blosc2) { - LOG_ERROR("Compressor not yet implemented: %s", - compressor_to_string(compressor)); - return ZarrError_NotYetImplemented; - } - settings->compressor = compressor; return ZarrError_Success; }