fix(test): compilation warning
This commit is contained in:
parent
38f8b8e7d6
commit
69a6a633d4
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ Test(parse_packet, valid_packet)
|
||||||
|
|
||||||
Test(parse_packet, buffer_too_small)
|
Test(parse_packet, buffer_too_small)
|
||||||
{
|
{
|
||||||
uint8_t buffer[10];
|
uint8_t buffer[10] = {0};
|
||||||
uint8_t type, code, ttl;
|
uint8_t type, code, ttl;
|
||||||
struct in_addr src_addr;
|
struct in_addr src_addr;
|
||||||
const void *payload;
|
const void *payload;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue