From 4361763ca0ee92ab6c1e5168e83303a19da49db1 Mon Sep 17 00:00:00 2001 From: Pavel P Date: Fri, 29 Nov 2024 23:59:54 +0200 Subject: [PATCH] Fix unused parameter warning in ByteAlignedPacking::decodeArray fixes the following warning: ``` c:\FastPFor\headers\blockpacking.h(287,64): warning : unused parameter 'length' [-Wunused-parameter] 287 | const uint32_t *decodeArray(const uint32_t *in, const size_t length, ``` --- headers/blockpacking.h | 1 + 1 file changed, 1 insertion(+) diff --git a/headers/blockpacking.h b/headers/blockpacking.h index 20f032b..2d88076 100644 --- a/headers/blockpacking.h +++ b/headers/blockpacking.h @@ -286,6 +286,7 @@ class ByteAlignedPacking : public IntegerCODEC { const uint32_t *decodeArray(const uint32_t *in, const size_t length, uint32_t *out, size_t &nvalue) { + (void)length; const uint32_t actuallength = *in++; const uint8_t *inbyte = reinterpret_cast(in); const uint32_t *const initout(out);