From cbea40d40c61c442be7ee0c9695b45ea1b5a3c8c Mon Sep 17 00:00:00 2001 From: Danila Kutenin Date: Mon, 20 Oct 2025 13:34:53 +0000 Subject: [PATCH] Fix an unused var warning for RISC-V --- snappy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappy.cc b/snappy.cc index 832455b..d6d709a 100644 --- a/snappy.cc +++ b/snappy.cc @@ -1224,7 +1224,7 @@ inline bool Copy64BytesWithPatternExtension(ptrdiff_t dst, size_t offset) { void MemCopy64(char* dst, const void* src, size_t size) { // Always copy this many bytes. If that's below size then copy the full 64. constexpr int kShortMemCopy = 32; - + (void)kShortMemCopy; assert(size <= 64); assert(std::less_equal()(static_cast(src) + size, dst) ||