diff --git a/cpp/src/io/comp/nvcomp_adapter.cpp b/cpp/src/io/comp/nvcomp_adapter.cpp index b8bf8be6d2d..9d3cf75a13f 100644 --- a/cpp/src/io/comp/nvcomp_adapter.cpp +++ b/cpp/src/io/comp/nvcomp_adapter.cpp @@ -70,7 +70,7 @@ auto batched_decompress_async(compression_type compression, Args&&... args) } } -std::string compression_type_name(compression_type compression) +[[maybe_unused]] std::string compression_type_name(compression_type compression) { switch (compression) { case compression_type::SNAPPY: return "Snappy";