Skip to content

Commit

Permalink
Fix unused parameter warning in ByteAlignedPacking::decodeArray
Browse files Browse the repository at this point in the history
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,
```
  • Loading branch information
pps83 committed Nov 29, 2024
1 parent 30ad622 commit 4361763
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions headers/blockpacking.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<const uint8_t *>(in);
const uint32_t *const initout(out);
Expand Down

0 comments on commit 4361763

Please sign in to comment.