test: Fix cmocka unused-parameter warnings
parent
865a358a52
commit
580cf1163a
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
static void bitstream_test(void **state)
|
static void bitstream_test(void **state)
|
||||||
{
|
{
|
||||||
|
UNUSED_PARAMETER(state);
|
||||||
|
|
||||||
struct bitstream_reader reader;
|
struct bitstream_reader reader;
|
||||||
uint8_t data[6] = {0x34, 0xff, 0xe1, 0x23, 0x91, 0x45};
|
uint8_t data[6] = {0x34, 0xff, 0xe1, 0x23, 0x91, 0x45};
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
static void array_basic_test(void **state)
|
static void array_basic_test(void **state)
|
||||||
{
|
{
|
||||||
|
UNUSED_PARAMETER(state);
|
||||||
|
|
||||||
DARRAY(uint8_t) testarray;
|
DARRAY(uint8_t) testarray;
|
||||||
da_init(testarray);
|
da_init(testarray);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue